-
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
Closed
Labels
bugIndicates an unexpected problem or unintended behaviorIndicates an unexpected problem or unintended behaviorregressionRegression in behavior compared to a previous versionRegression in behavior compared to a previous version
Description
If you run:
function foo()
x = ones(10)
print("first access\n")
x[1]
print("second access\n")
x[20]
end
foo()
the result is
first access
second access
in foo: arrayref: index out of range
in foo at none:4
Note the line number is incorrect. As in #900, this isn't helpful when trying to debug :)
Metadata
Metadata
Assignees
Labels
bugIndicates an unexpected problem or unintended behaviorIndicates an unexpected problem or unintended behaviorregressionRegression in behavior compared to a previous versionRegression in behavior compared to a previous version