Fix nonmissingtype with unspecified type parameters#31016
Conversation
|
I don't understand why the regular definition didn't work here? Specifically, |
|
No idea, but that's may be related to #26135. Anyway using BTW, what about exporting the following function? typesubtract(::Type{S}, ::Type{T}) where {S, T} = Core.Compiler.typesubtract(S, T)Then we can recommend writing |
|
Merge? |
|
I think that |
|
Indeed. If the fix is in |
|
This to something like: and this is a nested structure, but on the other hand, surprisingly: does not get reduced into a single union. On the other hand: gets simplified nicely. @JeffBezanson - do you thing it worth to try to explore such special cases, or we leave them as I think in normal coding practice they are not very relevant. |
|
Bump. |
Fixes #31013.