Analyzer crash: type '_ConstructorNameWithInvalidTypeArgs' is not a subtype of type 'ConstructorNameImpl?' in type cast #59592
Labels
area-analyzer
Use area-analyzer for Dart analyzer issues, including the analysis server and code completion.
crash
Process exits with SIGSEGV, SIGABRT, etc. An unhandled exception is not a crash.
P1
A high priority bug; for example, a single project is unusable or has many test failures
type-bug
Incorrect behavior (everything from a crash to more subtle misbehavior)
I have this weird script,
t.dart
:Analyzing it is fine:
If I then remove a comma:
it crashes:
The text was updated successfully, but these errors were encountered: