ARGUMENT_TYPE_NOT_ASSIGNABLE
although preceded by a not-null condition
#46897
Labels
area-language
Dart language related items (some items might be better tracked at github.com/dart-lang/language).
For the below case, there is a compiler error
I believe this shouldn't happen, since there is a check for
returnType != null
, also the error is removed if the returnType is declared asDart SDK version: 2.15.0-6.0.dev (dev) (Wed Aug 11 14:48:30 2021 -0700) on "windows_x64"
The text was updated successfully, but these errors were encountered: