-
Notifications
You must be signed in to change notification settings - Fork 184
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
EnumClass code generation does not support Dart 2.17 super syntax #1147
Comments
Thanks!
|
Is there a workaround? |
No, you'll have to write it the old way for now. |
@davidmorgan Do you think you can find a quick way to allow the super syntax when you cut a release? |
Done :) will be released in |
Awesome, thanks! |
Currently, built_value expects
EnumClass
es to look like this:As of Dart 2.17, you can rewrite that like this:
But, this produces an error during code generation:
The text was updated successfully, but these errors were encountered: