Skip to content
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

#2559. Add more augmented expression tests for class-like declarations #3019

Merged
merged 3 commits into from
Dec 19, 2024

Conversation

sgrekhov
Copy link
Contributor

No description provided.

Copy link
Member

@eernstg eernstg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! A couple of words in the description do not seem to match the actual test.

/// identifier `augmented` occurs in Dm.
///
/// @description Checks that it is a compile-time error if an augmenting class
/// declaration extends a type named `augmented`.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perhaps:

Suggested change
/// declaration extends a type named `augmented`.
/// declaration extends a type that contains the name `augmented`.

Similarly for a few more tests below.

@sgrekhov
Copy link
Contributor Author

Updated. PTAL.

@sgrekhov sgrekhov requested a review from eernstg December 18, 2024 17:56
Copy link
Member

@eernstg eernstg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@eernstg eernstg merged commit c433852 into dart-lang:master Dec 19, 2024
2 checks passed
copybara-service bot pushed a commit to dart-lang/sdk that referenced this pull request Dec 20, 2024
2024-12-19 [email protected] dart-lang/co19#2976. Add equality tests. Part 1. (dart-lang/co19#3021)
2024-12-19 [email protected] dart-lang/co19#2559. Add more augmented expression tests for class-like declarations (dart-lang/co19#3019)
2024-12-18 [email protected] Fix Finalizer_A01_t04.dart test (dart-lang/co19#3020)
2024-12-18 [email protected] dart-lang/co19#2559. Fix metadata tests (dart-lang/co19#3018)
2024-12-17 [email protected] dart-lang/co19#2559. Add metadata tests. Part 1. (dart-lang/co19#3017)
2024-12-16 [email protected] dart-lang/co19#2559. Add more augmented expression tests (dart-lang/co19#3016)
2024-12-16 [email protected] dart-lang/co19#2559. Add tests for reserved word `augmented` in constructors. Part 2. (dart-lang/co19#3015)

Cq-Include-Trybots: luci.dart.try:analyzer-linux-release-try
Change-Id: Idf2d4813fdca6d4107ee17d508cf5f8b27b1b4ff
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/401882
Commit-Queue: Alexander Thomas <[email protected]>
Reviewed-by: Erik Ernst <[email protected]>
Reviewed-by: Alexander Thomas <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants