Analyzer crashes when @required used in typedef for closure #44220
Labels
area-analyzer
Use area-analyzer for Dart analyzer issues, including the analysis server and code completion.
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)
Thank you for taking the time to file an issue!
Dart: 2.12.0-31.0.dev (dev) (Mon Nov 9 16:07:01 2020 -0800) on "macos_x64"
Flutter: 1.24.0-8.0.pre.180 • channel master
Android studio: 4.1.1
If I declare a typedef like this with
@required
on the function argument:Then the analyser crashes:
The text was updated successfully, but these errors were encountered: