-
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
VM nnbd sdk errors #40424
Comments
Landed https://dart-review.googlesource.com/c/sdk/+/137250 to fix all errors reported by CFE when performNnbdChecks is turned on.
|
Transferring issue back to CFE to close once the CFE fix lands. |
I think with https://dart-review.googlesource.com/c/sdk/+/137787 landed, the issue is fixed. |
Now that all the errors found while compiling the SDK have been fixed, does the CFE turn on performNnbdChecks to true by default when --enable-experiment=non-nullable is specified? |
It's the plan. I've created #40980 for this. |
Enabling CFE warning/error reporting for NNBD shows various warnings.
The easiest way to enable the warning/error reporting while building the nnbd sdk is to change
performNnbdChecks
inpkg/front_end/lib/src/base/processed_options.dart
to always return true, and run the compile_platform script directly:The current warnings are:
The text was updated successfully, but these errors were encountered: