-
Notifications
You must be signed in to change notification settings - Fork 59
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
Unmatched null pattern #13
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://github.com/HaxeFoundation/format/blob/master/format/swf/Writer.hx#L547
https://github.com/HaxeFoundation/format/blob/master/format/swf/Writer.hx#L570
The error is correct because LS2Data defines fill to be
Null<LS2Fill>
and Haxe now considers explicit null types for exhaustiveness.The question is what should semantically happen if the field actually is null. Or should the fill field not be nullable after all?
The text was updated successfully, but these errors were encountered: