-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Improve diagnostic reporting on invalid analysis options #56943
Comments
Summary: The user is experiencing an error when running |
|
This still should not just crash but should report a readable error. |
cc @pq |
The unsafe null check was fixed by @DanTup in bbe6f23. We do have some analysis options validation so in common cases errors will be reported. @MohammadNezarAldalati if you can reproduce the file in a state that crashes for you I can look and see if we're reporting anything on it today. Thanks! |
@pq
and then I notice it and fix it:
|
Great. Thanks! |
dart analyze
and got this error:General info
Project info
The text was updated successfully, but these errors were encountered: