diff --git a/LanguageFeatures/Static-access-shorthand/constant_expression_A08_t01.dart b/LanguageFeatures/Static-access-shorthand/constant_expression_A08_t01.dart index d2b66e705d..3fa5bf376c 100644 --- a/LanguageFeatures/Static-access-shorthand/constant_expression_A08_t01.dart +++ b/LanguageFeatures/Static-access-shorthand/constant_expression_A08_t01.dart @@ -31,6 +31,8 @@ class C { extension type const ET(int _) { static ET get id1 => const ET(0); static ET id2() => const ET(0); + + ET call() => const ET(0); } main() { diff --git a/LanguageFeatures/Static-access-shorthand/equality_A01_t03.dart b/LanguageFeatures/Static-access-shorthand/equality_A01_t03.dart index a9d9c7e61b..fa1e0b928f 100644 --- a/LanguageFeatures/Static-access-shorthand/equality_A01_t03.dart +++ b/LanguageFeatures/Static-access-shorthand/equality_A01_t03.dart @@ -29,7 +29,7 @@ enum E { main() { Expect.isTrue(E.e0 == .e0); - Expect.isFalse(E.e0 != .e1); + Expect.isFalse(E.e0 != .e0); Expect.isTrue(E.e0 == .staticGetter); Expect.isFalse(E.e0 != .staticGetter); diff --git a/LanguageFeatures/Static-access-shorthand/equality_A02_t06.dart b/LanguageFeatures/Static-access-shorthand/equality_A02_t06.dart index b11d799210..a9b0837936 100644 --- a/LanguageFeatures/Static-access-shorthand/equality_A02_t06.dart +++ b/LanguageFeatures/Static-access-shorthand/equality_A02_t06.dart @@ -17,6 +17,7 @@ /// form `== e2` or `!= e2` and `e2` is not a precisely shorthand expression. /// Test a mixin. /// @author sgrekhov22@gmail.com +/// @issue 59796 // SharedOptions=--enable-experiment=dot-shorthands