-
Notifications
You must be signed in to change notification settings - Fork 29
#2559. Update augmenting_constructors_A01_* tests
#3388
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
sgrekhov
commented
Nov 11, 2025
- Augmentations from parts moved to the main test to improve readability
- Assertion text updated
- Experimental flag changed
- Declarations updated to avoid two completed declarations in the chain of the augmentations
eernstg
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, bunch of comments.
Perhaps the tests about signature mismatches should contain a larger amount of text from
https://github.com/dart-lang/language/blob/main/working/augmentations/feature-specification.md#augmenting-function-and-constructor-signatures
?
LanguageFeatures/Augmentation-libraries/augmenting_constructors_A01_t02.dart
Outdated
Show resolved
Hide resolved
LanguageFeatures/Augmentation-libraries/augmenting_constructors_A01_t10.dart
Outdated
Show resolved
Hide resolved
LanguageFeatures/Augmentation-libraries/augmenting_constructors_A01_t10.dart
Show resolved
Hide resolved
LanguageFeatures/Augmentation-libraries/augmenting_constructors_A01_t11.dart
Outdated
Show resolved
Hide resolved
LanguageFeatures/Augmentation-libraries/augmenting_constructors_A01_t12.dart
Outdated
Show resolved
Hide resolved
LanguageFeatures/Augmentation-libraries/augmenting_constructors_A01_t13.dart
Outdated
Show resolved
Hide resolved
sgrekhov
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you! Updated. PTAL.
LanguageFeatures/Augmentation-libraries/augmenting_constructors_A01_t02.dart
Outdated
Show resolved
Hide resolved
LanguageFeatures/Augmentation-libraries/augmenting_constructors_A01_t10.dart
Outdated
Show resolved
Hide resolved
LanguageFeatures/Augmentation-libraries/augmenting_constructors_A01_t10.dart
Show resolved
Hide resolved
LanguageFeatures/Augmentation-libraries/augmenting_constructors_A01_t11.dart
Outdated
Show resolved
Hide resolved
LanguageFeatures/Augmentation-libraries/augmenting_constructors_A01_t12.dart
Outdated
Show resolved
Hide resolved
LanguageFeatures/Augmentation-libraries/augmenting_constructors_A01_t13.dart
Outdated
Show resolved
Hide resolved
eernstg
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM