You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
function main ()
@printf("%s\n", "foo", "bar")
end
main()
Running this, I get a correct error message, followed by a broken stack trace:
ERROR: @printf: wrong number of arguments
in include at boot.jl:238
in include_from_node1 at loading.jl:114
in process_options at client.jl:303
in _start at client.jl:389
at /Volumes/Cutie/YAGO/bi_prep/foo.jl:0
Given that the error was in line 2 of the file, I think the error message should say so.
The text was updated successfully, but these errors were encountered:
JeffBezanson
changed the title
misleading stack trace in @printf error message
line numbers for errors during macro expansion
Jun 9, 2014
Let's say my file (foo.jl) contains this code:
Running this, I get a correct error message, followed by a broken stack trace:
Given that the error was in line 2 of the file, I think the error message should say so.
The text was updated successfully, but these errors were encountered: