You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Calling the List.length setter to expand the size of a list with non-nullable type should throw an error in null safe code. The VM sometimes fails to throw this exception if it follows a call to List.add. The code below shows this: the first call to the length setter throws, but after a call to List.add, subsequent calls do not throw, and null can be observed as the contents of a non-nullable list.
The text was updated successfully, but these errors were encountered:
leafpetersen
added
area-vm
Use area-vm for VM related issues, including code coverage, FFI, and the AOT and JIT backends.
NNBD
Issues related to NNBD Release
labels
Jun 25, 2020
Note that there are a some incorrectly migrated Dart 2 language tests which are passing only because of this failure, and will begin to fail once this issue is fixed. cc @munificent . Feel free to approve these failures and file an issue for @munificent and myself to triage and fix them (the fix depends somewhat on the resolution of this issue).
Calling the
List.length
setter to expand the size of a list with non-nullable type should throw an error in null safe code. The VM sometimes fails to throw this exception if it follows a call toList.add
. The code below shows this: the first call to the length setter throws, but after a call toList.add
, subsequent calls do not throw, andnull
can be observed as the contents of a non-nullable list.cc @nshahan @alexmarkov
The text was updated successfully, but these errors were encountered: