-
-
Notifications
You must be signed in to change notification settings - Fork 656
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
Discrepancy in null-coalescing operator #11425
Comments
Note that the Edit: Just noticed that this case is hidden in all that mess already. |
Heh heh, sorry, yeah, i could / should have probably just kept the first 3 examples for brevity... :/ |
It's fine! I kinda hate these "look at all the possibly related scenarios" when investigating the issue, but it makes for a good test case. |
Should work now! I've omitted cases 4 and 5 from your diary because that's a separate issue. It might be possible to support this by doing a normal left-to-right unification, but I'm not sure if it's worth the trouble. @RblSb I'd appreciate if you could check if this change makes sense to you. I've extracted the |
oh thanks Simon... so fast! :)
Yeah, i think in reality the other scenarios might have just been noise - certainly some of them were at least |
Well, this actually broke something on the C# target of all things:
|
We have tests about Null unwrapping and |
I think it's because of a C#-specific hack for |
Note: this shouldn't be included in a bugfix release without #11706 |
|
https://try.haxe.org/#FCeC7D58
Not sure if there is any more / better info than the source / comments?
The text was updated successfully, but these errors were encountered: