Augmentation libraries: Augmented constructor initializers appear to be ignored. #55766
Labels
area-dart-model
For issues related to conformance to the language spec in the parser, compilers or the CLI analyzer.
cfe-feature-augmentation
Implement augmentation features in the CFE
cfe-feature-macros
Implement macros features in the CFE
feature-augmentations
Implementation of the augmentations feature
Consider:
Where the generated code is:
In theory,
print(A({'a': 0}).map
should always print{'c': 42}
. But somehow, this prints{'a': 0}
.This makes no sense, as the parameter is unused here, and the field initialization is hard-coded.
The text was updated successfully, but these errors were encountered: