Evaluation failing for non-null, nullable field #51690
Labels
area-front-end
Use area-front-end for front end / CFE / kernel format related issues.
area-web
Use area-web for Dart web related issues, including the DDC and dart2js compilers and JS interop.
front-end-server
Issues with the frontend server
P3
A lower priority bug or feature request
web-dev-compiler
web-eval
evaluation support on the web
a
is a nullable list. At the point of evaluation,a
has been checked non null.We should either
!
for nullable variablea
when evaluatinga.length
. Ifa
is null, I would expect a null assertion error. If a is non-null,a.length
should evaluate as expected (which is the current result ofa?.length
)@annagrin
The text was updated successfully, but these errors were encountered: