-
-
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
Order-dependent error in recursive data type constructor #42297
Labels
regression
Regression in behavior compared to a previous version
types and dispatch
Types, subtyping and method dispatch
Comments
vtjnash
added
the
regression
Regression in behavior compared to a previous version
label
Mar 29, 2022
vtjnash
added a commit
that referenced
this issue
Mar 29, 2022
We were accidentally passing the start of the list instead of the end of the list, resulting in some values passing through uninitialized. Fix #42297 regression
vtjnash
added a commit
that referenced
this issue
Apr 7, 2022
We were accidentally passing the start of the list instead of the end of the list, resulting in some values passing through uninitialized. Fix #42297 regression
KristofferC
pushed a commit
that referenced
this issue
Apr 19, 2022
KristofferC
pushed a commit
that referenced
this issue
Apr 19, 2022
KristofferC
pushed a commit
that referenced
this issue
May 16, 2022
KristofferC
pushed a commit
that referenced
this issue
Dec 21, 2022
staticfloat
pushed a commit
that referenced
this issue
Dec 23, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
regression
Regression in behavior compared to a previous version
types and dispatch
Types, subtyping and method dispatch
The following definition of a recursive data type does not work in Julia 1.3 and later.
If I reboot julia and then evaluate
Node{Int}(Val{Int}())
first, it does not throw butNode{Int}(1)
now throws:Julia 1.0.5 and 1.2.0 can handle construction in both orders. But in 1.3.1, 1.7.0-beta, and 1.8-DEV, I see the above order-dependent behavior.
The text was updated successfully, but these errors were encountered: