[analyzer] No error if augmenting function specifies default values #55569
Labels
area-analyzer
Use area-analyzer for Dart analyzer issues, including the analysis server and code completion.
feature-macros
Implementation of the macros feature
P2
A bug or feature request we're likely to work on
type-bug
Incorrect behavior (everything from a crash to more subtle misbehavior)
According to the Augmentations specification
In fact no such error is reported. See
https://github.com/dart-lang/co19/blob/master/LanguageFeatures/Augmentation-libraries/augmenting_functions_A05_t01.dart
https://github.com/dart-lang/co19/blob/master/LanguageFeatures/Augmentation-libraries/augmenting_functions_A05_t02.dart
These co19 tests fail in the analyzer bacause of this issue
The text was updated successfully, but these errors were encountered: