-
-
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
certain recursive type definitions are not allocated inline #41349
Labels
types and dispatch
Types, subtyping and method dispatch
Comments
There happens to be a test_broken for just this case: Line 7223 in ed4c44f
|
simeonschaub
added a commit
that referenced
this issue
Jun 25, 2021
Marking this as RFC, since I am not certain that this is actually correct. Is the branch for `dp->types == NULL` that looks at the type parameters instead even needed here?
simeonschaub
added a commit
that referenced
this issue
Jun 25, 2021
Marking this as RFC, since I am not certain that this is actually correct. Is the branch for `dp->types == NULL` that looks at the type parameters instead even needed here?
simeonschaub
added a commit
that referenced
this issue
Jun 30, 2021
Marking this as RFC, since I am not certain that this is actually correct.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In this example, Julia does not realize that
B
can be allocated inline, which leads toB
being boxed when used inside other types:The text was updated successfully, but these errors were encountered: