Fixes #3122. Update constants evaluation according to the specification (#3150)
diff --git a/LanguageFeatures/Static-access-shorthand/constant_expression_A10_t17.dart b/LanguageFeatures/Static-access-shorthand/constant_expression_A10_t17.dart
index 0f11f2a..e392584 100644
--- a/LanguageFeatures/Static-access-shorthand/constant_expression_A10_t17.dart
+++ b/LanguageFeatures/Static-access-shorthand/constant_expression_A10_t17.dart
@@ -45,14 +45,10 @@
// ^
// [analyzer] unspecified
// [cfe] unspecified
- const M m = 2 < 1 ? .one : .two;
-// ^
-// [analyzer] unspecified
-// [cfe] unspecified
- const E e = 2 > 1 ? .one : .two;
-// ^
-// [analyzer] unspecified
-// [cfe] unspecified
+ const M m = 2 < 1 ? .one : .two; //`false ? variable : const` is a constant
+
+ const E e = 2 > 1 ? .one : .two; // `true ? const : variable` is a constant
+
const ET et = 2 < 1 ? .one : .two;
// ^
// [analyzer] unspecified