-
Notifications
You must be signed in to change notification settings - Fork 28
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
#2976. Add constant expressions tests #3024
Conversation
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, couple of comments!
LanguageFeatures/Static-access-shorthand/constant_expression_A02_t01.dart
Outdated
Show resolved
Hide resolved
LanguageFeatures/Static-access-shorthand/constant_expression_A02_t02.dart
Outdated
Show resolved
Hide resolved
LanguageFeatures/Static-access-shorthand/constant_expression_A07_t01.dart
Outdated
Show resolved
Hide resolved
LanguageFeatures/Static-access-shorthand/constant_expression_A08_t01.dart
Show resolved
Hide resolved
LanguageFeatures/Static-access-shorthand/constant_expression_A08_t02.dart
Show resolved
Hide resolved
LanguageFeatures/Static-access-shorthand/constant_expression_A09_t01.dart
Outdated
Show resolved
Hide resolved
LanguageFeatures/Static-access-shorthand/constant_expression_A09_t01.dart
Outdated
Show resolved
Hide resolved
LanguageFeatures/Static-access-shorthand/constant_expression_A09_t01.dart
Outdated
Show resolved
Hide resolved
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/Static-access-shorthand/constant_expression_A02_t01.dart
Outdated
Show resolved
Hide resolved
LanguageFeatures/Static-access-shorthand/constant_expression_A02_t02.dart
Outdated
Show resolved
Hide resolved
LanguageFeatures/Static-access-shorthand/constant_expression_A07_t01.dart
Outdated
Show resolved
Hide resolved
LanguageFeatures/Static-access-shorthand/constant_expression_A08_t01.dart
Show resolved
Hide resolved
LanguageFeatures/Static-access-shorthand/constant_expression_A09_t01.dart
Outdated
Show resolved
Hide resolved
LanguageFeatures/Static-access-shorthand/constant_expression_A08_t01.dart
Outdated
Show resolved
Hide resolved
LanguageFeatures/Static-access-shorthand/constant_expression_A09_t01.dart
Outdated
Show resolved
Hide resolved
LanguageFeatures/Static-access-shorthand/constant_expression_A07_t01.dart
Show resolved
Hide resolved
LanguageFeatures/Static-access-shorthand/constant_expression_A02_t01.dart
Outdated
Show resolved
Hide resolved
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.
I think we do need to take one more iteration because e!
isn't a constant expression.
PS: I'm also still pushing for '.' <identifier>
. ;-)
|
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, thanks!
2025-01-10 [email protected] Fixes dart-lang/co19#3039. Fix the new roll failures (dart-lang/co19#3040) 2025-01-10 [email protected] dart-lang/co19#2976. Add constant expressions tests. Part 4. (dart-lang/co19#3037) 2025-01-09 [email protected] dart-lang/co19#2976. Add constant expressions tests (dart-lang/co19#3024) 2025-01-09 [email protected] Fixes dart-lang/co19#3030. Add additional test checking non const in a const constructor initializer list (dart-lang/co19#3036) 2025-01-09 [email protected] dart-lang/co19#2976. Add grammar tests for shorthand with different operators. (dart-lang/co19#3027) 2025-01-08 [email protected] Fixes dart-lang/co19#3028. Add tests for mixin application constant constructor (dart-lang/co19#3032) 2025-01-08 [email protected] dart-lang/co19#2976. Add constant expressions tests.Part 3. (dart-lang/co19#3026) 2025-01-08 [email protected] dart-lang/co19#2976. Add constant expressions tests.Part 2. (dart-lang/co19#3025) 2025-01-06 [email protected] dart-lang/co19#2976. Add more equality tests (dart-lang/co19#3023) 2025-01-01 49699333+dependabot[bot]@users.noreply.github.com Bump actions/setup-java from 4.5.0 to 4.6.0 in the github-actions group (dart-lang/co19#3033) 2024-12-20 [email protected] dart-lang/co19#2976. Add more tests for shorthand equality (dart-lang/co19#3022) Cq-Include-Trybots: luci.dart.try:analyzer-linux-release-try Change-Id: Ic8becbc8de5c560f3e9294a47d727442df7c733f Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/403982 Reviewed-by: Erik Ernst <[email protected]> Reviewed-by: Alexander Thomas <[email protected]>
No description provided.