-
-
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
Runtime crash with unreachable reached #55206
Comments
Looks like this is assumed to be un-constructible
due to this incorrect type intersection result
This appears to occur due to an incorrect assignment of |
@AaronGhost Thanks for the useful report. A good workaround in a case like this is to remove or simplify the constraints on struct type parameters. bisect points to 51e3bc3, but I guess that only exposed this intersection problem. I will try to separately bisect the intersection bug. |
Ah, yes. That commit brings about more correctness issues. Reverting seems the best choice here. |
revert 748149e as that commit makes no sense especially when typevar occurs both inside and outside the inner intersection. close JuliaLang#55206
…Lang#55299) This PR reverts the optimization from 748149e (part of JuliaLang#48167), while keeping the fix for merging occurs_inv/occurs_cov, as that optimzation makes no sense especially when typevar occurs both inside and outside the inner intersection. Close JuliaLang#55206
Hi, thanks for developing Julia!
I encountered a runtime crash on 1.10.4 while including the script below. The runtime crash still exists in 1.11.0rc1 and nightly. I tried to reduce it to the best of my ability:
Please find below the crash log
Output from versioninfo:
The text was updated successfully, but these errors were encountered: