NNBD. No error in VM if optional non-nullable parameter has no default value #40954
Labels
area-front-end
Use area-front-end for front end / CFE / kernel format related issues.
NNBD
Issues related to NNBD Release
According to the NNBD specification
In fact, analyzer reports this error but VM doesn't. For example, the following code works in VM without any error
Dart VM version: 2.8.0-dev.12.0 (Thu Mar 5 11:45:50 2020 +0100) on "windows_x64"
The text was updated successfully, but these errors were encountered: