-
-
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
StackOverflow in typeintersect when using Tuple type parameters #26487
Comments
This stack overflow in
The original MWE above also still triggers the stack overflow on |
I wanted to close an old issue today, but unfortunately it persists even in the 1.2 release candidate, hence a friendly bump:
I originally came to this minimal working example when working on code to convert between tuples and static arrays, in nested cases. I wanted an efficient way to identify ((1,2),3) with [1,2,3] and to convert between the two, since the former would naturally arise in constructions of domains using set operations (in |
close JuliaLang#26487. This should be valid as we never set `X<:Y<:X` (assuming `Y` is outer var).
close JuliaLang#26487. This should be valid as we never set `X<:Y<:X` (assuming `Y` is outer var).
close JuliaLang#26487. This should be valid as we never set `X<:Y<:X` (assuming `Y` is the outer var).
close JuliaLang#26487. This should be valid as we never set `X<:Y<:X` (assuming `Y` is the outer var).
I'm making a new issue for an older issue (#22239) that was partially fixed. The problem is a StackOverflow error in the following minimal working example:
The output using the current nightly build is:
As @martinholters pointed out in #22239, the error results from
typeintersect
as follows:Above examples were tested today on master:
The examples do also lead to similar errors on 0.6.2.
The text was updated successfully, but these errors were encountered: