Replies: 1 comment 1 reply
-
Aha, apparently it is dependent on the order currently. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Assuming I have 2 types, both are
MixedType
, but only one hassubtractedType
configured. Is it expected that bothintersect
andunion
combinations of those 2 always result in aMixedType
without thesubstractedType
?I'm not entirely sure if there is a bug somewhere or not. I'm having a scenario where I start with a plain mixed, some expressions add information via subtractable mixed (e.g. is mixed but not String) and then I want to intersect those 2. I would expect to get the mixed with more information instead of the plain one.
Thought I ask before I loose myself in some rabbit hole :)
Beta Was this translation helpful? Give feedback.
All reactions