You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
DECISION TREE BEGIN
7 var `<8552> = haxe.ds.Option.Some(cast null)
6 switch (`<8552>)
case Some(unguarded):
3 var `v<8553> = `<8552>[0]
2 if (`v<8553> == null)
1 else
0 <fail>
case None(unguarded):
4 default
0 <fail>
DECISION TREE END
Since we don't let the match compiler check exhaustiveness immediately, this has to be fixed in the texpr converter. We don't want to generate the if at all here because this would break apart if the switch appeared in a value-place.
I feel like I fixed this before for some empty enum case or something, will have to dig that up.
Weird edge case incoming:
The text was updated successfully, but these errors were encountered: