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
functionfoo()
return bar
endfunctionmain(args)
foo()
endmain(ARGS)
... the backtrace does not contain a reference to the place where the error occurs:
$ julia test/bug/backtrace.jl
ERROR: in main: bar not defined
in main at test/bug/backtrace.jl:6
at test/bug/backtrace.jl:9
Changing foo() to trigger the error before the return statement, e.g. by first doing 'bar += 1', the backtrace DOES correctly mention where the issue happened.
The text was updated successfully, but these errors were encountered:
Upon executing the following simple program:
... the backtrace does not contain a reference to the place where the error occurs:
Changing foo() to trigger the error before the return statement, e.g. by first doing 'bar += 1', the backtrace DOES correctly mention where the issue happened.
The text was updated successfully, but these errors were encountered: