-
Notifications
You must be signed in to change notification settings - Fork 1.7k
[analyzer/inline-classes] Missing warning. #52674
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
Comments
We should get a compile-time error for The analyzer does not report any errors, and the common front end reports one error which isn't any of the expected ones. @scheglov, @johnniwinther, is this covered by existing issues or ongoing work? Is there a need to create two issues, one for the analyzer and one for the CFE? |
I don't work on inline classes. |
The work is not shared so it's probably best to have two issues. |
Thanks, @scheglov and @johnniwinther, I created #52675 and #52676 to cover the analyzer and the CFE, respectively. @bwilkerson, @srawlins: Planning should then occur in #52675. |
The inline class experiment has been replaced with extension types. |
As expected, the following code does not compile successfully, but the analyzer does not report any errors:
Reproducible on DartPad
[Edit, eernstg: Add subtask list]
The text was updated successfully, but these errors were encountered: