-
-
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
incorrect handling of covariant tuple fieldtypes causes crash #27031
Labels
bug
Indicates an unexpected problem or unintended behavior
compiler:inference
Type inference
types and dispatch
Types, subtyping and method dispatch
Comments
jrevels
added
bug
Indicates an unexpected problem or unintended behavior
types and dispatch
Types, subtyping and method dispatch
labels
May 9, 2018
|
Yes, this is demonstrating a bug in ‘fieldtype’ (and various versions of it, such as Core.Compiler.compute_arg_types and tuple_type_head) not respecting the potential effect of the diagonal rule when rewrapping the unionall type. |
N5N3
added a commit
that referenced
this issue
Nov 23, 2023
N5N3
added a commit
that referenced
this issue
Nov 27, 2023
N5N3
added a commit
that referenced
this issue
Nov 27, 2023
mkitti
pushed a commit
to mkitti/julia
that referenced
this issue
Dec 9, 2023
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
compiler:inference
Type inference
types and dispatch
Types, subtyping and method dispatch
This MWE triggers a crash (written by @vtjnash):
This prints:
So this is perhaps another example where #24614 could make life easier for inference
The text was updated successfully, but these errors were encountered: