BoundsError line numbers in 0.4 #13818
Labels
error handling
Handling of exceptions by Julia or the user
regression
Regression in behavior compared to a previous version
I know there are some line number problems on master but I don't find an issue about if for 0.4. The code is run on Ubuntu with 0.4.0.
For example, this function:
prints the error at the wrong line:
However, if I comment out the other usages of
a
I get the correct line number:It seems that when I get the wrong line number for a BoundsError, the line that is getting reported is an earlier line where the same variable is getting used.
The text was updated successfully, but these errors were encountered: