-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Labels
P3A lower priority bug or feature requestA lower priority bug or feature requestanalyzer-technical-debtlegacy-area-analyzerUse area-devexp instead.Use area-devexp instead.type-bugIncorrect behavior (everything from a crash to more subtle misbehavior)Incorrect behavior (everything from a crash to more subtle misbehavior)
Description
In https://dart-review.googlesource.com/c/sdk/+/182300 I fixed a minor null safety bug in the code generation logic in pkg/analyzer/tool/experiments/generate.dart (which generates pkg/analyzer/lib/src/dart/analysis/experiments.g.dart). The fix prevented a crash when running the code generator. Normally we have a unit test to verify that the output of a code generator matches the corresponding generated file, so that we don't forget to make fixes like this one. It looks like we don't have a unit test for experiments.g.dart.
Metadata
Metadata
Assignees
Labels
P3A lower priority bug or feature requestA lower priority bug or feature requestanalyzer-technical-debtlegacy-area-analyzerUse area-devexp instead.Use area-devexp instead.type-bugIncorrect behavior (everything from a crash to more subtle misbehavior)Incorrect behavior (everything from a crash to more subtle misbehavior)