-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
v = []; push!(v, length(v))
produces [1]
#14245
Labels
bug
Indicates an unexpected problem or unintended behavior
regression
Regression in behavior compared to a previous version
Comments
JeffBezanson
added
bug
Indicates an unexpected problem or unintended behavior
regression
Regression in behavior compared to a previous version
labels
Dec 4, 2015
Seems to work in 0.4. |
Also, excellent catch. Thanks for this. |
Should we have a regression test for this somewhere? (Not sure what test file to put it in though.) |
@StefanKarpinski isn't this what |
StefanKarpinski
added a commit
that referenced
this issue
Dec 4, 2015
StefanKarpinski
added a commit
that referenced
this issue
Dec 7, 2015
StefanKarpinski
added a commit
that referenced
this issue
Dec 9, 2015
Ok, we have a test for this now, but it's failing on 0.5. Since this doesn't fail on 0.4, we can actually backport it safely and then merge on 0.5 once the issue is fixed. |
StefanKarpinski
added a commit
that referenced
this issue
Jan 9, 2016
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
bug
Indicates an unexpected problem or unintended behavior
regression
Regression in behavior compared to a previous version
However, if you disable inlining, you get the correct result.
The text was updated successfully, but these errors were encountered: