[Augmentation] Wrong error in the analyzer when augmenting a factory constructor #57027
Labels
area-analyzer
Use area-analyzer for Dart analyzer issues, including the analysis server and code completion.
feature-augmentations
Implementation of the augmentations feature
P2
A bug or feature request we're likely to work on
Analyzer (with
--enable-experiment=macros
) produces two errors here.If to update the test and to remove the
factory
keyword from the augmentation then the error disappears.Dart SDK version: 3.7.0-86.0.dev (dev) (Wed Oct 30 17:03:22 2024 -0700) on "windows_x64"
The text was updated successfully, but these errors were encountered: