Parser does not allow !
before .
(NNBD)
#37111
Labels
area-analyzer
Use area-analyzer for Dart analyzer issues, including the analysis server and code completion.
With
--enable-experiment=non-nullable
, the following code has a parse error:Note: I discovered this while trying to confirm whether we support
!
in cascade expressions, e.g.a..foo()!.bar=3;
(see discussion at dart-lang/language#293 (comment)). So we should double check this case too when fixing the bug.The text was updated successfully, but these errors were encountered: