From d8d8c8b01258991e11f75bc9fa936394e94d62a2 Mon Sep 17 00:00:00 2001 From: sgrekhov Date: Thu, 6 Feb 2025 10:14:55 +0200 Subject: [PATCH] Fixes #3067. Rename the static access shorthand feature experiment flag --- .../Static-access-shorthand/constant_expression_A01_t01.dart | 2 +- .../Static-access-shorthand/constant_expression_A01_t02.dart | 2 +- .../Static-access-shorthand/constant_expression_A01_t03.dart | 2 +- .../Static-access-shorthand/constant_expression_A02_t01.dart | 2 +- .../Static-access-shorthand/constant_expression_A02_t02.dart | 2 +- .../Static-access-shorthand/constant_expression_A03_t01.dart | 2 +- .../Static-access-shorthand/constant_expression_A03_t02.dart | 2 +- .../Static-access-shorthand/constant_expression_A03_t03.dart | 2 +- .../Static-access-shorthand/constant_expression_A04_t01.dart | 2 +- .../Static-access-shorthand/constant_expression_A05_t01.dart | 2 +- .../Static-access-shorthand/constant_expression_A05_t02.dart | 2 +- .../Static-access-shorthand/constant_expression_A06_t01.dart | 2 +- .../Static-access-shorthand/constant_expression_A07_t01.dart | 2 +- .../Static-access-shorthand/constant_expression_A08_t01.dart | 2 +- .../Static-access-shorthand/constant_expression_A08_t02.dart | 2 +- .../Static-access-shorthand/constant_expression_A10_t01.dart | 2 +- .../Static-access-shorthand/constant_expression_A10_t02.dart | 2 +- .../Static-access-shorthand/constant_expression_A10_t03.dart | 2 +- .../Static-access-shorthand/constant_expression_A10_t04.dart | 2 +- .../Static-access-shorthand/constant_expression_A10_t05.dart | 2 +- .../Static-access-shorthand/constant_expression_A10_t06.dart | 2 +- .../Static-access-shorthand/constant_expression_A10_t07.dart | 2 +- .../Static-access-shorthand/constant_expression_A10_t08.dart | 2 +- .../Static-access-shorthand/constant_expression_A10_t09.dart | 2 +- .../Static-access-shorthand/constant_expression_A10_t10.dart | 2 +- .../Static-access-shorthand/constant_expression_A10_t11.dart | 2 +- .../Static-access-shorthand/constant_expression_A10_t12.dart | 2 +- .../Static-access-shorthand/constant_expression_A10_t13.dart | 2 +- .../Static-access-shorthand/constant_expression_A10_t14.dart | 2 +- .../Static-access-shorthand/constant_expression_A10_t15.dart | 2 +- .../Static-access-shorthand/constant_expression_A10_t16.dart | 2 +- .../Static-access-shorthand/constant_expression_A10_t17.dart | 2 +- .../Static-access-shorthand/constant_expression_A10_t18.dart | 2 +- .../Static-access-shorthand/constant_expression_A10_t19.dart | 2 +- LanguageFeatures/Static-access-shorthand/equality_A01_t01.dart | 2 +- LanguageFeatures/Static-access-shorthand/equality_A01_t02.dart | 2 +- LanguageFeatures/Static-access-shorthand/equality_A01_t03.dart | 2 +- LanguageFeatures/Static-access-shorthand/equality_A01_t04.dart | 2 +- LanguageFeatures/Static-access-shorthand/equality_A01_t05.dart | 2 +- LanguageFeatures/Static-access-shorthand/equality_A01_t06.dart | 2 +- LanguageFeatures/Static-access-shorthand/equality_A01_t07.dart | 2 +- LanguageFeatures/Static-access-shorthand/equality_A01_t08.dart | 2 +- LanguageFeatures/Static-access-shorthand/equality_A01_t09.dart | 2 +- LanguageFeatures/Static-access-shorthand/equality_A02_t01.dart | 2 +- LanguageFeatures/Static-access-shorthand/equality_A02_t02.dart | 2 +- LanguageFeatures/Static-access-shorthand/equality_A02_t03.dart | 2 +- LanguageFeatures/Static-access-shorthand/equality_A02_t04.dart | 2 +- LanguageFeatures/Static-access-shorthand/equality_A02_t05.dart | 2 +- LanguageFeatures/Static-access-shorthand/equality_A02_t06.dart | 2 +- LanguageFeatures/Static-access-shorthand/equality_A02_t07.dart | 2 +- LanguageFeatures/Static-access-shorthand/equality_A02_t08.dart | 2 +- LanguageFeatures/Static-access-shorthand/equality_A02_t09.dart | 2 +- LanguageFeatures/Static-access-shorthand/equality_A02_t10.dart | 2 +- LanguageFeatures/Static-access-shorthand/equality_A02_t11.dart | 2 +- LanguageFeatures/Static-access-shorthand/equality_A02_t12.dart | 2 +- LanguageFeatures/Static-access-shorthand/grammar_A01_t01.dart | 2 +- LanguageFeatures/Static-access-shorthand/grammar_A01_t02.dart | 2 +- LanguageFeatures/Static-access-shorthand/grammar_A01_t03.dart | 2 +- LanguageFeatures/Static-access-shorthand/grammar_A01_t04.dart | 2 +- LanguageFeatures/Static-access-shorthand/grammar_A01_t05.dart | 2 +- LanguageFeatures/Static-access-shorthand/grammar_A01_t06.dart | 2 +- LanguageFeatures/Static-access-shorthand/grammar_A01_t07.dart | 2 +- LanguageFeatures/Static-access-shorthand/grammar_A01_t08.dart | 2 +- LanguageFeatures/Static-access-shorthand/grammar_A02_t01.dart | 2 +- LanguageFeatures/Static-access-shorthand/grammar_A02_t02.dart | 2 +- LanguageFeatures/Static-access-shorthand/grammar_A03_t01.dart | 2 +- LanguageFeatures/Static-access-shorthand/grammar_A03_t02.dart | 2 +- LanguageFeatures/Static-access-shorthand/grammar_A04_t01.dart | 2 +- LanguageFeatures/Static-access-shorthand/grammar_A04_t02.dart | 2 +- LanguageFeatures/Static-access-shorthand/grammar_A04_t03.dart | 2 +- LanguageFeatures/Static-access-shorthand/grammar_A04_t04.dart | 2 +- LanguageFeatures/Static-access-shorthand/grammar_A04_t05.dart | 2 +- LanguageFeatures/Static-access-shorthand/grammar_A04_t06.dart | 2 +- LanguageFeatures/Static-access-shorthand/grammar_A04_t07.dart | 2 +- LanguageFeatures/Static-access-shorthand/grammar_A04_t08.dart | 2 +- LanguageFeatures/Static-access-shorthand/grammar_A04_t09.dart | 2 +- LanguageFeatures/Static-access-shorthand/grammar_A04_t10.dart | 2 +- LanguageFeatures/Static-access-shorthand/grammar_A04_t11.dart | 2 +- LanguageFeatures/Static-access-shorthand/grammar_A04_t12.dart | 2 +- LanguageFeatures/Static-access-shorthand/grammar_A04_t13.dart | 2 +- LanguageFeatures/Static-access-shorthand/grammar_A04_t14.dart | 2 +- LanguageFeatures/Static-access-shorthand/grammar_A04_t15.dart | 2 +- LanguageFeatures/Static-access-shorthand/grammar_A04_t16.dart | 2 +- LanguageFeatures/Static-access-shorthand/grammar_A04_t17.dart | 2 +- LanguageFeatures/Static-access-shorthand/grammar_A04_t18.dart | 2 +- LanguageFeatures/Static-access-shorthand/grammar_A04_t19.dart | 2 +- LanguageFeatures/Static-access-shorthand/grammar_A05_t01.dart | 2 +- LanguageFeatures/Static-access-shorthand/grammar_A05_t02.dart | 2 +- LanguageFeatures/Static-access-shorthand/grammar_A05_t03.dart | 2 +- LanguageFeatures/Static-access-shorthand/grammar_A05_t04.dart | 2 +- LanguageFeatures/Static-access-shorthand/grammar_A05_t05.dart | 2 +- LanguageFeatures/Static-access-shorthand/grammar_A06_t01.dart | 2 +- LanguageFeatures/Static-access-shorthand/grammar_A06_t02.dart | 2 +- LanguageFeatures/Static-access-shorthand/grammar_A06_t03.dart | 2 +- LanguageFeatures/Static-access-shorthand/grammar_A06_t04.dart | 2 +- LanguageFeatures/Static-access-shorthand/grammar_A06_t05.dart | 2 +- LanguageFeatures/Static-access-shorthand/grammar_A07_t01.dart | 2 +- LanguageFeatures/Static-access-shorthand/grammar_A07_t02.dart | 2 +- .../Static-access-shorthand/non_ambiguity_A01_t01.dart | 2 +- .../Static-access-shorthand/non_ambiguity_A01_t02.dart | 2 +- .../Static-access-shorthand/non_ambiguity_A02_t01.dart | 2 +- .../Static-access-shorthand/non_ambiguity_A02_t02.dart | 2 +- .../Static-access-shorthand/non_ambiguity_A02_t03.dart | 2 +- .../Static-access-shorthand/non_ambiguity_A02_t04.dart | 2 +- .../Static-access-shorthand/non_ambiguity_A02_t05.dart | 2 +- .../Static-access-shorthand/non_ambiguity_A02_t06.dart | 2 +- LanguageFeatures/Static-access-shorthand/patterns_A01_t01.dart | 2 +- LanguageFeatures/Static-access-shorthand/patterns_A01_t03.dart | 2 +- LanguageFeatures/Static-access-shorthand/patterns_A02_t01.dart | 2 +- LanguageFeatures/Static-access-shorthand/patterns_A02_t02.dart | 2 +- LanguageFeatures/Static-access-shorthand/patterns_A02_t03.dart | 2 +- LanguageFeatures/Static-access-shorthand/patterns_A02_t05.dart | 2 +- LanguageFeatures/Static-access-shorthand/patterns_A02_t06.dart | 2 +- LanguageFeatures/Static-access-shorthand/patterns_A02_t07.dart | 2 +- LanguageFeatures/Static-access-shorthand/patterns_A02_t08.dart | 2 +- LanguageFeatures/Static-access-shorthand/patterns_A02_t09.dart | 2 +- LanguageFeatures/Static-access-shorthand/patterns_A02_t10.dart | 2 +- LanguageFeatures/Static-access-shorthand/patterns_A02_t11.dart | 2 +- LanguageFeatures/Static-access-shorthand/patterns_A02_t12.dart | 2 +- LanguageFeatures/Static-access-shorthand/semantics_A01_t01.dart | 2 +- LanguageFeatures/Static-access-shorthand/semantics_A01_t02.dart | 2 +- LanguageFeatures/Static-access-shorthand/semantics_A01_t03.dart | 2 +- LanguageFeatures/Static-access-shorthand/semantics_A01_t04.dart | 2 +- LanguageFeatures/Static-access-shorthand/semantics_A01_t05.dart | 2 +- LanguageFeatures/Static-access-shorthand/semantics_A01_t06.dart | 2 +- LanguageFeatures/Static-access-shorthand/semantics_A02_t01.dart | 2 +- LanguageFeatures/Static-access-shorthand/semantics_A03_t01.dart | 2 +- LanguageFeatures/Static-access-shorthand/semantics_A04_t01.dart | 2 +- LanguageFeatures/Static-access-shorthand/semantics_A04_t02.dart | 2 +- LanguageFeatures/Static-access-shorthand/semantics_A04_t03.dart | 2 +- LanguageFeatures/Static-access-shorthand/semantics_A05_t01.dart | 2 +- LanguageFeatures/Static-access-shorthand/semantics_lib.dart | 2 +- LanguageFeatures/Static-access-shorthand/shorthand_lib.dart | 2 +- .../Static-access-shorthand/type_inference_A01_t01.dart | 2 +- .../Static-access-shorthand/type_inference_A01_t02.dart | 2 +- .../Static-access-shorthand/type_inference_A01_t03.dart | 2 +- .../Static-access-shorthand/type_inference_A01_t04.dart | 2 +- .../Static-access-shorthand/type_inference_A01_t05.dart | 2 +- .../Static-access-shorthand/type_inference_A01_t06.dart | 2 +- .../Static-access-shorthand/type_inference_A01_t07.dart | 2 +- .../Static-access-shorthand/type_inference_A01_t08.dart | 2 +- .../Static-access-shorthand/type_inference_A01_t09.dart | 2 +- .../Static-access-shorthand/type_inference_A01_t10.dart | 2 +- .../Static-access-shorthand/type_inference_A01_t11.dart | 2 +- .../Static-access-shorthand/type_inference_A01_t12.dart | 2 +- .../Static-access-shorthand/type_inference_A01_t13.dart | 2 +- .../Static-access-shorthand/type_inference_A01_t14.dart | 2 +- .../Static-access-shorthand/type_inference_A01_t15.dart | 2 +- .../Static-access-shorthand/type_inference_A02_t01.dart | 2 +- .../Static-access-shorthand/type_inference_A02_t02.dart | 2 +- .../Static-access-shorthand/type_inference_A02_t03.dart | 2 +- .../Static-access-shorthand/type_inference_A02_t04.dart | 2 +- .../Static-access-shorthand/type_inference_A02_t05.dart | 2 +- .../Static-access-shorthand/type_inference_A03_t01.dart | 2 +- .../Static-access-shorthand/type_inference_A04_t01.dart | 2 +- .../Static-access-shorthand/type_inference_A05_t01.dart | 2 +- .../Static-access-shorthand/type_inference_A05_t02.dart | 2 +- .../Static-access-shorthand/type_inference_A06_t01.dart | 2 +- .../Static-access-shorthand/type_inference_A06_t02.dart | 2 +- .../Static-access-shorthand/type_inference_A07_t01.dart | 2 +- .../Static-access-shorthand/type_inference_A07_t02.dart | 2 +- .../Static-access-shorthand/type_inference_A08_t01.dart | 2 +- .../Static-access-shorthand/type_inference_A08_t02.dart | 2 +- 163 files changed, 163 insertions(+), 163 deletions(-) diff --git a/LanguageFeatures/Static-access-shorthand/constant_expression_A01_t01.dart b/LanguageFeatures/Static-access-shorthand/constant_expression_A01_t01.dart index 363f7a4c67..b3e6f4ef8c 100644 --- a/LanguageFeatures/Static-access-shorthand/constant_expression_A01_t01.dart +++ b/LanguageFeatures/Static-access-shorthand/constant_expression_A01_t01.dart @@ -17,7 +17,7 @@ /// and `const '.' new(arguments)` are constant expressions. /// @author sgrekhov22@gmail.com -// SharedOptions=--enable-experiment=enum-shorthands +// SharedOptions=--enable-experiment=dot-shorthands import '../../Utils/expect.dart'; diff --git a/LanguageFeatures/Static-access-shorthand/constant_expression_A01_t02.dart b/LanguageFeatures/Static-access-shorthand/constant_expression_A01_t02.dart index 130d0e5a08..9cd4562d62 100644 --- a/LanguageFeatures/Static-access-shorthand/constant_expression_A01_t02.dart +++ b/LanguageFeatures/Static-access-shorthand/constant_expression_A01_t02.dart @@ -18,7 +18,7 @@ /// in an appropriate declaration are not constant constructors. /// @author sgrekhov22@gmail.com -// SharedOptions=--enable-experiment=enum-shorthands +// SharedOptions=--enable-experiment=dot-shorthands class C { final String value; diff --git a/LanguageFeatures/Static-access-shorthand/constant_expression_A01_t03.dart b/LanguageFeatures/Static-access-shorthand/constant_expression_A01_t03.dart index badcf834a6..c9a325a50e 100644 --- a/LanguageFeatures/Static-access-shorthand/constant_expression_A01_t03.dart +++ b/LanguageFeatures/Static-access-shorthand/constant_expression_A01_t03.dart @@ -18,7 +18,7 @@ /// expression in `arguments` is not a constant expression. /// @author sgrekhov22@gmail.com -// SharedOptions=--enable-experiment=enum-shorthands +// SharedOptions=--enable-experiment=dot-shorthands class C { final String value; diff --git a/LanguageFeatures/Static-access-shorthand/constant_expression_A02_t01.dart b/LanguageFeatures/Static-access-shorthand/constant_expression_A02_t01.dart index c15b56290d..23426b5218 100644 --- a/LanguageFeatures/Static-access-shorthand/constant_expression_A02_t01.dart +++ b/LanguageFeatures/Static-access-shorthand/constant_expression_A02_t01.dart @@ -16,7 +16,7 @@ /// getter with the name ``. /// @author sgrekhov22@gmail.com -// SharedOptions=--enable-experiment=enum-shorthands +// SharedOptions=--enable-experiment=dot-shorthands import '../../Utils/expect.dart'; diff --git a/LanguageFeatures/Static-access-shorthand/constant_expression_A02_t02.dart b/LanguageFeatures/Static-access-shorthand/constant_expression_A02_t02.dart index 825a9d4877..b5717fbcf6 100644 --- a/LanguageFeatures/Static-access-shorthand/constant_expression_A02_t02.dart +++ b/LanguageFeatures/Static-access-shorthand/constant_expression_A02_t02.dart @@ -16,7 +16,7 @@ /// explicit or implicit non-constant getter declaration. /// @author sgrekhov22@gmail.com -// SharedOptions=--enable-experiment=enum-shorthands +// SharedOptions=--enable-experiment=dot-shorthands class C { final String value; diff --git a/LanguageFeatures/Static-access-shorthand/constant_expression_A03_t01.dart b/LanguageFeatures/Static-access-shorthand/constant_expression_A03_t01.dart index 7ff9f94ac1..d264e1ac49 100644 --- a/LanguageFeatures/Static-access-shorthand/constant_expression_A03_t01.dart +++ b/LanguageFeatures/Static-access-shorthand/constant_expression_A03_t01.dart @@ -21,7 +21,7 @@ /// name ``. /// @author sgrekhov22@gmail.com -// SharedOptions=--enable-experiment=enum-shorthands +// SharedOptions=--enable-experiment=dot-shorthands import '../../Utils/expect.dart'; diff --git a/LanguageFeatures/Static-access-shorthand/constant_expression_A03_t02.dart b/LanguageFeatures/Static-access-shorthand/constant_expression_A03_t02.dart index ce914e596c..060ea1858f 100644 --- a/LanguageFeatures/Static-access-shorthand/constant_expression_A03_t02.dart +++ b/LanguageFeatures/Static-access-shorthand/constant_expression_A03_t02.dart @@ -21,7 +21,7 @@ /// name ``. /// @author sgrekhov22@gmail.com -// SharedOptions=--enable-experiment=enum-shorthands +// SharedOptions=--enable-experiment=dot-shorthands import '../../Utils/expect.dart'; diff --git a/LanguageFeatures/Static-access-shorthand/constant_expression_A03_t03.dart b/LanguageFeatures/Static-access-shorthand/constant_expression_A03_t03.dart index 2cad287207..73879360e1 100644 --- a/LanguageFeatures/Static-access-shorthand/constant_expression_A03_t03.dart +++ b/LanguageFeatures/Static-access-shorthand/constant_expression_A03_t03.dart @@ -20,7 +20,7 @@ /// type argument is not a constant expression. /// @author sgrekhov22@gmail.com -// SharedOptions=--enable-experiment=enum-shorthands +// SharedOptions=--enable-experiment=dot-shorthands import '../../Utils/expect.dart'; diff --git a/LanguageFeatures/Static-access-shorthand/constant_expression_A04_t01.dart b/LanguageFeatures/Static-access-shorthand/constant_expression_A04_t01.dart index 445bd04b2d..210f72a820 100644 --- a/LanguageFeatures/Static-access-shorthand/constant_expression_A04_t01.dart +++ b/LanguageFeatures/Static-access-shorthand/constant_expression_A04_t01.dart @@ -18,7 +18,7 @@ /// an unnamed constructor and the target class is not generic. /// @author sgrekhov22@gmail.com -// SharedOptions=--enable-experiment=enum-shorthands +// SharedOptions=--enable-experiment=dot-shorthands import '../../Utils/expect.dart'; diff --git a/LanguageFeatures/Static-access-shorthand/constant_expression_A05_t01.dart b/LanguageFeatures/Static-access-shorthand/constant_expression_A05_t01.dart index 494c8d7802..cc1281cc8c 100644 --- a/LanguageFeatures/Static-access-shorthand/constant_expression_A05_t01.dart +++ b/LanguageFeatures/Static-access-shorthand/constant_expression_A05_t01.dart @@ -19,7 +19,7 @@ /// corresponding static function. /// @author sgrekhov22@gmail.com -// SharedOptions=--enable-experiment=enum-shorthands +// SharedOptions=--enable-experiment=dot-shorthands import '../../Utils/expect.dart'; diff --git a/LanguageFeatures/Static-access-shorthand/constant_expression_A05_t02.dart b/LanguageFeatures/Static-access-shorthand/constant_expression_A05_t02.dart index 05bfda586d..234fa6d45b 100644 --- a/LanguageFeatures/Static-access-shorthand/constant_expression_A05_t02.dart +++ b/LanguageFeatures/Static-access-shorthand/constant_expression_A05_t02.dart @@ -19,7 +19,7 @@ /// constant type expressions. /// @author sgrekhov22@gmail.com -// SharedOptions=--enable-experiment=enum-shorthands +// SharedOptions=--enable-experiment=dot-shorthands import '../../Utils/expect.dart'; diff --git a/LanguageFeatures/Static-access-shorthand/constant_expression_A06_t01.dart b/LanguageFeatures/Static-access-shorthand/constant_expression_A06_t01.dart index 86d4393d0a..f9abee9cc1 100644 --- a/LanguageFeatures/Static-access-shorthand/constant_expression_A06_t01.dart +++ b/LanguageFeatures/Static-access-shorthand/constant_expression_A06_t01.dart @@ -15,7 +15,7 @@ /// `` is still a compile-time error. /// @author sgrekhov22@gmail.com -// SharedOptions=--enable-experiment=enum-shorthands +// SharedOptions=--enable-experiment=dot-shorthands class C { const C(); diff --git a/LanguageFeatures/Static-access-shorthand/constant_expression_A07_t01.dart b/LanguageFeatures/Static-access-shorthand/constant_expression_A07_t01.dart index 623be9e78d..7f87e2e857 100644 --- a/LanguageFeatures/Static-access-shorthand/constant_expression_A07_t01.dart +++ b/LanguageFeatures/Static-access-shorthand/constant_expression_A07_t01.dart @@ -20,7 +20,7 @@ /// are not constant types. /// @author sgrekhov22@gmail.com -// SharedOptions=--enable-experiment=enum-shorthands +// SharedOptions=--enable-experiment=dot-shorthands class C { const C(); diff --git a/LanguageFeatures/Static-access-shorthand/constant_expression_A08_t01.dart b/LanguageFeatures/Static-access-shorthand/constant_expression_A08_t01.dart index b879cd230f..d2b66e705d 100644 --- a/LanguageFeatures/Static-access-shorthand/constant_expression_A08_t01.dart +++ b/LanguageFeatures/Static-access-shorthand/constant_expression_A08_t01.dart @@ -18,7 +18,7 @@ /// not a constant expression if `id` is a getter or static function declaration /// @author sgrekhov22@gmail.com -// SharedOptions=--enable-experiment=enum-shorthands +// SharedOptions=--enable-experiment=dot-shorthands class C { const C(); diff --git a/LanguageFeatures/Static-access-shorthand/constant_expression_A08_t02.dart b/LanguageFeatures/Static-access-shorthand/constant_expression_A08_t02.dart index 5eb4eeacfd..31e4ba855f 100644 --- a/LanguageFeatures/Static-access-shorthand/constant_expression_A08_t02.dart +++ b/LanguageFeatures/Static-access-shorthand/constant_expression_A08_t02.dart @@ -19,7 +19,7 @@ /// static function declaration. /// @author sgrekhov22@gmail.com -// SharedOptions=--enable-experiment=enum-shorthands +// SharedOptions=--enable-experiment=dot-shorthands class C { const C(); diff --git a/LanguageFeatures/Static-access-shorthand/constant_expression_A10_t01.dart b/LanguageFeatures/Static-access-shorthand/constant_expression_A10_t01.dart index c8ded76b0d..8084117a42 100644 --- a/LanguageFeatures/Static-access-shorthand/constant_expression_A10_t01.dart +++ b/LanguageFeatures/Static-access-shorthand/constant_expression_A10_t01.dart @@ -12,7 +12,7 @@ /// constant expression /// @author sgrekhov22@gmail.com -// SharedOptions=--enable-experiment=enum-shorthands +// SharedOptions=--enable-experiment=dot-shorthands import '../../Utils/expect.dart'; import 'shorthand_lib.dart' as p; diff --git a/LanguageFeatures/Static-access-shorthand/constant_expression_A10_t02.dart b/LanguageFeatures/Static-access-shorthand/constant_expression_A10_t02.dart index 3d8f1c37e9..a7bca1270c 100644 --- a/LanguageFeatures/Static-access-shorthand/constant_expression_A10_t02.dart +++ b/LanguageFeatures/Static-access-shorthand/constant_expression_A10_t02.dart @@ -11,7 +11,7 @@ /// the initializer list of a constant constructor. /// @author sgrekhov22@gmail.com -// SharedOptions=--enable-experiment=enum-shorthands +// SharedOptions=--enable-experiment=dot-shorthands import '../../Utils/expect.dart'; diff --git a/LanguageFeatures/Static-access-shorthand/constant_expression_A10_t03.dart b/LanguageFeatures/Static-access-shorthand/constant_expression_A10_t03.dart index 6c2407cf22..de844a3203 100644 --- a/LanguageFeatures/Static-access-shorthand/constant_expression_A10_t03.dart +++ b/LanguageFeatures/Static-access-shorthand/constant_expression_A10_t03.dart @@ -13,7 +13,7 @@ /// @author sgrekhov22@gmail.com /// @issue 59804 -// SharedOptions=--enable-experiment=enum-shorthands +// SharedOptions=--enable-experiment=dot-shorthands class A { int id; diff --git a/LanguageFeatures/Static-access-shorthand/constant_expression_A10_t04.dart b/LanguageFeatures/Static-access-shorthand/constant_expression_A10_t04.dart index aebb0dfe0e..0d034f5179 100644 --- a/LanguageFeatures/Static-access-shorthand/constant_expression_A10_t04.dart +++ b/LanguageFeatures/Static-access-shorthand/constant_expression_A10_t04.dart @@ -11,7 +11,7 @@ /// a constant list literal. /// @author sgrekhov22@gmail.com -// SharedOptions=--enable-experiment=enum-shorthands +// SharedOptions=--enable-experiment=dot-shorthands import '../../Utils/expect.dart'; diff --git a/LanguageFeatures/Static-access-shorthand/constant_expression_A10_t05.dart b/LanguageFeatures/Static-access-shorthand/constant_expression_A10_t05.dart index 1469e0e39c..f7b94ed405 100644 --- a/LanguageFeatures/Static-access-shorthand/constant_expression_A10_t05.dart +++ b/LanguageFeatures/Static-access-shorthand/constant_expression_A10_t05.dart @@ -11,7 +11,7 @@ /// static member shorthand expression in a constant list literal. /// @author sgrekhov22@gmail.com -// SharedOptions=--enable-experiment=enum-shorthands +// SharedOptions=--enable-experiment=dot-shorthands class C { static C answer = const C(42); diff --git a/LanguageFeatures/Static-access-shorthand/constant_expression_A10_t06.dart b/LanguageFeatures/Static-access-shorthand/constant_expression_A10_t06.dart index 30a7610527..0d8b24d529 100644 --- a/LanguageFeatures/Static-access-shorthand/constant_expression_A10_t06.dart +++ b/LanguageFeatures/Static-access-shorthand/constant_expression_A10_t06.dart @@ -11,7 +11,7 @@ /// a constant set literal. /// @author sgrekhov22@gmail.com -// SharedOptions=--enable-experiment=enum-shorthands +// SharedOptions=--enable-experiment=dot-shorthands import '../../Utils/expect.dart'; diff --git a/LanguageFeatures/Static-access-shorthand/constant_expression_A10_t07.dart b/LanguageFeatures/Static-access-shorthand/constant_expression_A10_t07.dart index 9b8d8161cb..c311c4310c 100644 --- a/LanguageFeatures/Static-access-shorthand/constant_expression_A10_t07.dart +++ b/LanguageFeatures/Static-access-shorthand/constant_expression_A10_t07.dart @@ -11,7 +11,7 @@ /// static member shorthand expression in a constant set literal. /// @author sgrekhov22@gmail.com -// SharedOptions=--enable-experiment=enum-shorthands +// SharedOptions=--enable-experiment=dot-shorthands class C { static C answer = const C(42); diff --git a/LanguageFeatures/Static-access-shorthand/constant_expression_A10_t08.dart b/LanguageFeatures/Static-access-shorthand/constant_expression_A10_t08.dart index 6abf47cdb8..d769920617 100644 --- a/LanguageFeatures/Static-access-shorthand/constant_expression_A10_t08.dart +++ b/LanguageFeatures/Static-access-shorthand/constant_expression_A10_t08.dart @@ -11,7 +11,7 @@ /// a constant map literal. /// @author sgrekhov22@gmail.com -// SharedOptions=--enable-experiment=enum-shorthands +// SharedOptions=--enable-experiment=dot-shorthands import '../../Utils/expect.dart'; diff --git a/LanguageFeatures/Static-access-shorthand/constant_expression_A10_t09.dart b/LanguageFeatures/Static-access-shorthand/constant_expression_A10_t09.dart index 0a3dec4eee..ce573923b8 100644 --- a/LanguageFeatures/Static-access-shorthand/constant_expression_A10_t09.dart +++ b/LanguageFeatures/Static-access-shorthand/constant_expression_A10_t09.dart @@ -11,7 +11,7 @@ /// static member shorthand expression in a constant map literal. /// @author sgrekhov22@gmail.com -// SharedOptions=--enable-experiment=enum-shorthands +// SharedOptions=--enable-experiment=dot-shorthands class C { static C answer = const C(42); diff --git a/LanguageFeatures/Static-access-shorthand/constant_expression_A10_t10.dart b/LanguageFeatures/Static-access-shorthand/constant_expression_A10_t10.dart index a057ec15f6..fa967e91ca 100644 --- a/LanguageFeatures/Static-access-shorthand/constant_expression_A10_t10.dart +++ b/LanguageFeatures/Static-access-shorthand/constant_expression_A10_t10.dart @@ -11,7 +11,7 @@ /// a constant parenthesized expression. /// @author sgrekhov22@gmail.com -// SharedOptions=--enable-experiment=enum-shorthands +// SharedOptions=--enable-experiment=dot-shorthands import '../../Utils/expect.dart'; diff --git a/LanguageFeatures/Static-access-shorthand/constant_expression_A10_t11.dart b/LanguageFeatures/Static-access-shorthand/constant_expression_A10_t11.dart index 79ed57d19d..fa1614e733 100644 --- a/LanguageFeatures/Static-access-shorthand/constant_expression_A10_t11.dart +++ b/LanguageFeatures/Static-access-shorthand/constant_expression_A10_t11.dart @@ -11,7 +11,7 @@ /// static member shorthand expression in a constant parenthesized expression. /// @author sgrekhov22@gmail.com -// SharedOptions=--enable-experiment=enum-shorthands +// SharedOptions=--enable-experiment=dot-shorthands class C { static C answer = const C(42); diff --git a/LanguageFeatures/Static-access-shorthand/constant_expression_A10_t12.dart b/LanguageFeatures/Static-access-shorthand/constant_expression_A10_t12.dart index 2845434c54..6c9f343ad0 100644 --- a/LanguageFeatures/Static-access-shorthand/constant_expression_A10_t12.dart +++ b/LanguageFeatures/Static-access-shorthand/constant_expression_A10_t12.dart @@ -11,7 +11,7 @@ /// a right operand of a constant `e1 == e2` expression. /// @author sgrekhov22@gmail.com -// SharedOptions=--enable-experiment=enum-shorthands +// SharedOptions=--enable-experiment=dot-shorthands import '../../Utils/expect.dart'; diff --git a/LanguageFeatures/Static-access-shorthand/constant_expression_A10_t13.dart b/LanguageFeatures/Static-access-shorthand/constant_expression_A10_t13.dart index 28fa8fa278..6362c94896 100644 --- a/LanguageFeatures/Static-access-shorthand/constant_expression_A10_t13.dart +++ b/LanguageFeatures/Static-access-shorthand/constant_expression_A10_t13.dart @@ -12,7 +12,7 @@ /// `e1 == e2` expression. /// @author sgrekhov22@gmail.com -// SharedOptions=--enable-experiment=enum-shorthands +// SharedOptions=--enable-experiment=dot-shorthands class C { static C answer = const C(42); diff --git a/LanguageFeatures/Static-access-shorthand/constant_expression_A10_t14.dart b/LanguageFeatures/Static-access-shorthand/constant_expression_A10_t14.dart index c64a7e2286..25ec0e6d95 100644 --- a/LanguageFeatures/Static-access-shorthand/constant_expression_A10_t14.dart +++ b/LanguageFeatures/Static-access-shorthand/constant_expression_A10_t14.dart @@ -11,7 +11,7 @@ /// a right operand of a constant `e1 != e2` expression. /// @author sgrekhov22@gmail.com -// SharedOptions=--enable-experiment=enum-shorthands +// SharedOptions=--enable-experiment=dot-shorthands import '../../Utils/expect.dart'; diff --git a/LanguageFeatures/Static-access-shorthand/constant_expression_A10_t15.dart b/LanguageFeatures/Static-access-shorthand/constant_expression_A10_t15.dart index 0b75bc6204..4b1113ebe0 100644 --- a/LanguageFeatures/Static-access-shorthand/constant_expression_A10_t15.dart +++ b/LanguageFeatures/Static-access-shorthand/constant_expression_A10_t15.dart @@ -12,7 +12,7 @@ /// `e1 != e2` expression. /// @author sgrekhov22@gmail.com -// SharedOptions=--enable-experiment=enum-shorthands +// SharedOptions=--enable-experiment=dot-shorthands class C { static C answer = const C(42); diff --git a/LanguageFeatures/Static-access-shorthand/constant_expression_A10_t16.dart b/LanguageFeatures/Static-access-shorthand/constant_expression_A10_t16.dart index bccd7c1035..6414695d31 100644 --- a/LanguageFeatures/Static-access-shorthand/constant_expression_A10_t16.dart +++ b/LanguageFeatures/Static-access-shorthand/constant_expression_A10_t16.dart @@ -11,7 +11,7 @@ /// a constant `e1 ? e2 : e3` expression. /// @author sgrekhov22@gmail.com -// SharedOptions=--enable-experiment=enum-shorthands +// SharedOptions=--enable-experiment=dot-shorthands import '../../Utils/expect.dart'; diff --git a/LanguageFeatures/Static-access-shorthand/constant_expression_A10_t17.dart b/LanguageFeatures/Static-access-shorthand/constant_expression_A10_t17.dart index e88053745e..0f11f2a555 100644 --- a/LanguageFeatures/Static-access-shorthand/constant_expression_A10_t17.dart +++ b/LanguageFeatures/Static-access-shorthand/constant_expression_A10_t17.dart @@ -11,7 +11,7 @@ /// member shorthand expression is used in a constant `e1 ? e2 : e3` expression. /// @author sgrekhov22@gmail.com -// SharedOptions=--enable-experiment=enum-shorthands +// SharedOptions=--enable-experiment=dot-shorthands class C { static C one = const C(1); diff --git a/LanguageFeatures/Static-access-shorthand/constant_expression_A10_t18.dart b/LanguageFeatures/Static-access-shorthand/constant_expression_A10_t18.dart index 1528be39d3..529c21c202 100644 --- a/LanguageFeatures/Static-access-shorthand/constant_expression_A10_t18.dart +++ b/LanguageFeatures/Static-access-shorthand/constant_expression_A10_t18.dart @@ -11,7 +11,7 @@ /// a constant `e1 ?? e2` expression. /// @author sgrekhov22@gmail.com -// SharedOptions=--enable-experiment=enum-shorthands +// SharedOptions=--enable-experiment=dot-shorthands import '../../Utils/expect.dart'; diff --git a/LanguageFeatures/Static-access-shorthand/constant_expression_A10_t19.dart b/LanguageFeatures/Static-access-shorthand/constant_expression_A10_t19.dart index 5e4c4875df..8c0c64c297 100644 --- a/LanguageFeatures/Static-access-shorthand/constant_expression_A10_t19.dart +++ b/LanguageFeatures/Static-access-shorthand/constant_expression_A10_t19.dart @@ -11,7 +11,7 @@ /// member shorthand expression is used in a constant `e1 ?? e2` expression. /// @author sgrekhov22@gmail.com -// SharedOptions=--enable-experiment=enum-shorthands +// SharedOptions=--enable-experiment=dot-shorthands class C { static C one = const C(1); diff --git a/LanguageFeatures/Static-access-shorthand/equality_A01_t01.dart b/LanguageFeatures/Static-access-shorthand/equality_A01_t01.dart index ae689e1c61..68c22e438e 100644 --- a/LanguageFeatures/Static-access-shorthand/equality_A01_t01.dart +++ b/LanguageFeatures/Static-access-shorthand/equality_A01_t01.dart @@ -14,7 +14,7 @@ /// context from `e1`. Test a class. /// @author sgrekhov22@gmail.com -// SharedOptions=--enable-experiment=enum-shorthands +// SharedOptions=--enable-experiment=dot-shorthands import '../../Utils/expect.dart'; diff --git a/LanguageFeatures/Static-access-shorthand/equality_A01_t02.dart b/LanguageFeatures/Static-access-shorthand/equality_A01_t02.dart index 69e359e3b9..75958a1e38 100644 --- a/LanguageFeatures/Static-access-shorthand/equality_A01_t02.dart +++ b/LanguageFeatures/Static-access-shorthand/equality_A01_t02.dart @@ -14,7 +14,7 @@ /// context from `e1`. Test a mixin. /// @author sgrekhov22@gmail.com -// SharedOptions=--enable-experiment=enum-shorthands +// SharedOptions=--enable-experiment=dot-shorthands import '../../Utils/expect.dart'; diff --git a/LanguageFeatures/Static-access-shorthand/equality_A01_t03.dart b/LanguageFeatures/Static-access-shorthand/equality_A01_t03.dart index a6cafbc40f..a9d9c7e61b 100644 --- a/LanguageFeatures/Static-access-shorthand/equality_A01_t03.dart +++ b/LanguageFeatures/Static-access-shorthand/equality_A01_t03.dart @@ -14,7 +14,7 @@ /// context from `e1`. Test an enum. /// @author sgrekhov22@gmail.com -// SharedOptions=--enable-experiment=enum-shorthands +// SharedOptions=--enable-experiment=dot-shorthands import '../../Utils/expect.dart'; diff --git a/LanguageFeatures/Static-access-shorthand/equality_A01_t04.dart b/LanguageFeatures/Static-access-shorthand/equality_A01_t04.dart index 78ba75da6c..2a6b32303a 100644 --- a/LanguageFeatures/Static-access-shorthand/equality_A01_t04.dart +++ b/LanguageFeatures/Static-access-shorthand/equality_A01_t04.dart @@ -14,7 +14,7 @@ /// context from `e1`. Test an extension type. /// @author sgrekhov22@gmail.com -// SharedOptions=--enable-experiment=enum-shorthands +// SharedOptions=--enable-experiment=dot-shorthands import '../../Utils/expect.dart'; diff --git a/LanguageFeatures/Static-access-shorthand/equality_A01_t05.dart b/LanguageFeatures/Static-access-shorthand/equality_A01_t05.dart index 6587979dc4..d53f8021eb 100644 --- a/LanguageFeatures/Static-access-shorthand/equality_A01_t05.dart +++ b/LanguageFeatures/Static-access-shorthand/equality_A01_t05.dart @@ -14,7 +14,7 @@ /// value type of the pattern. Test a class. /// @author sgrekhov22@gmail.com -// SharedOptions=--enable-experiment=enum-shorthands +// SharedOptions=--enable-experiment=dot-shorthands import '../../Utils/expect.dart'; diff --git a/LanguageFeatures/Static-access-shorthand/equality_A01_t06.dart b/LanguageFeatures/Static-access-shorthand/equality_A01_t06.dart index 115d6ac7bd..ede745d256 100644 --- a/LanguageFeatures/Static-access-shorthand/equality_A01_t06.dart +++ b/LanguageFeatures/Static-access-shorthand/equality_A01_t06.dart @@ -14,7 +14,7 @@ /// value type of the pattern. Test a mixin. /// @author sgrekhov22@gmail.com -// SharedOptions=--enable-experiment=enum-shorthands +// SharedOptions=--enable-experiment=dot-shorthands import '../../Utils/expect.dart'; diff --git a/LanguageFeatures/Static-access-shorthand/equality_A01_t07.dart b/LanguageFeatures/Static-access-shorthand/equality_A01_t07.dart index 5d1af4bccb..f1423e2538 100644 --- a/LanguageFeatures/Static-access-shorthand/equality_A01_t07.dart +++ b/LanguageFeatures/Static-access-shorthand/equality_A01_t07.dart @@ -14,7 +14,7 @@ /// value type of the pattern. Test an enum. /// @author sgrekhov22@gmail.com -// SharedOptions=--enable-experiment=enum-shorthands +// SharedOptions=--enable-experiment=dot-shorthands import '../../Utils/expect.dart'; diff --git a/LanguageFeatures/Static-access-shorthand/equality_A01_t08.dart b/LanguageFeatures/Static-access-shorthand/equality_A01_t08.dart index 68b50116b2..bedffaaf37 100644 --- a/LanguageFeatures/Static-access-shorthand/equality_A01_t08.dart +++ b/LanguageFeatures/Static-access-shorthand/equality_A01_t08.dart @@ -14,7 +14,7 @@ /// value type of the pattern. Test an extension type. /// @author sgrekhov22@gmail.com -// SharedOptions=--enable-experiment=enum-shorthands +// SharedOptions=--enable-experiment=dot-shorthands import '../../Utils/expect.dart'; diff --git a/LanguageFeatures/Static-access-shorthand/equality_A01_t09.dart b/LanguageFeatures/Static-access-shorthand/equality_A01_t09.dart index 8303e85e04..0595ebc1c2 100644 --- a/LanguageFeatures/Static-access-shorthand/equality_A01_t09.dart +++ b/LanguageFeatures/Static-access-shorthand/equality_A01_t09.dart @@ -15,7 +15,7 @@ /// `length`. /// @author sgrekhov22@gmail.com -// SharedOptions=--enable-experiment=enum-shorthands +// SharedOptions=--enable-experiment=dot-shorthands import '../../Utils/expect.dart'; diff --git a/LanguageFeatures/Static-access-shorthand/equality_A02_t01.dart b/LanguageFeatures/Static-access-shorthand/equality_A02_t01.dart index 38e0cd03e9..d064e1ef66 100644 --- a/LanguageFeatures/Static-access-shorthand/equality_A02_t01.dart +++ b/LanguageFeatures/Static-access-shorthand/equality_A02_t01.dart @@ -18,7 +18,7 @@ /// class. /// @author sgrekhov22@gmail.com -// SharedOptions=--enable-experiment=enum-shorthands +// SharedOptions=--enable-experiment=dot-shorthands class C { final T value; diff --git a/LanguageFeatures/Static-access-shorthand/equality_A02_t02.dart b/LanguageFeatures/Static-access-shorthand/equality_A02_t02.dart index c52ca9800d..f1ae5e1c71 100644 --- a/LanguageFeatures/Static-access-shorthand/equality_A02_t02.dart +++ b/LanguageFeatures/Static-access-shorthand/equality_A02_t02.dart @@ -18,7 +18,7 @@ /// mixin. /// @author sgrekhov22@gmail.com -// SharedOptions=--enable-experiment=enum-shorthands +// SharedOptions=--enable-experiment=dot-shorthands class C { final T value; diff --git a/LanguageFeatures/Static-access-shorthand/equality_A02_t03.dart b/LanguageFeatures/Static-access-shorthand/equality_A02_t03.dart index 4b6cd217a8..d4c40f81a7 100644 --- a/LanguageFeatures/Static-access-shorthand/equality_A02_t03.dart +++ b/LanguageFeatures/Static-access-shorthand/equality_A02_t03.dart @@ -18,7 +18,7 @@ /// enum. /// @author sgrekhov22@gmail.com -// SharedOptions=--enable-experiment=enum-shorthands +// SharedOptions=--enable-experiment=dot-shorthands enum E { e0(0), e1("1"); diff --git a/LanguageFeatures/Static-access-shorthand/equality_A02_t04.dart b/LanguageFeatures/Static-access-shorthand/equality_A02_t04.dart index 403b21f8f8..c7f78da460 100644 --- a/LanguageFeatures/Static-access-shorthand/equality_A02_t04.dart +++ b/LanguageFeatures/Static-access-shorthand/equality_A02_t04.dart @@ -18,7 +18,7 @@ /// extension type. /// @author sgrekhov22@gmail.com -// SharedOptions=--enable-experiment=enum-shorthands +// SharedOptions=--enable-experiment=dot-shorthands extension type ET(T value) { ET.id(this.value); diff --git a/LanguageFeatures/Static-access-shorthand/equality_A02_t05.dart b/LanguageFeatures/Static-access-shorthand/equality_A02_t05.dart index aa2e249923..bf7f4c4232 100644 --- a/LanguageFeatures/Static-access-shorthand/equality_A02_t05.dart +++ b/LanguageFeatures/Static-access-shorthand/equality_A02_t05.dart @@ -18,7 +18,7 @@ /// Test a class. /// @author sgrekhov22@gmail.com -// SharedOptions=--enable-experiment=enum-shorthands +// SharedOptions=--enable-experiment=dot-shorthands class C { final T value; diff --git a/LanguageFeatures/Static-access-shorthand/equality_A02_t06.dart b/LanguageFeatures/Static-access-shorthand/equality_A02_t06.dart index 01f7d0749d..b11d799210 100644 --- a/LanguageFeatures/Static-access-shorthand/equality_A02_t06.dart +++ b/LanguageFeatures/Static-access-shorthand/equality_A02_t06.dart @@ -18,7 +18,7 @@ /// Test a mixin. /// @author sgrekhov22@gmail.com -// SharedOptions=--enable-experiment=enum-shorthands +// SharedOptions=--enable-experiment=dot-shorthands class C { final T value; diff --git a/LanguageFeatures/Static-access-shorthand/equality_A02_t07.dart b/LanguageFeatures/Static-access-shorthand/equality_A02_t07.dart index a6090ba392..e8656ba59b 100644 --- a/LanguageFeatures/Static-access-shorthand/equality_A02_t07.dart +++ b/LanguageFeatures/Static-access-shorthand/equality_A02_t07.dart @@ -18,7 +18,7 @@ /// Test an enum. /// @author sgrekhov22@gmail.com -// SharedOptions=--enable-experiment=enum-shorthands +// SharedOptions=--enable-experiment=dot-shorthands enum E { e0(0); diff --git a/LanguageFeatures/Static-access-shorthand/equality_A02_t08.dart b/LanguageFeatures/Static-access-shorthand/equality_A02_t08.dart index 36b81cc580..b0bdff0894 100644 --- a/LanguageFeatures/Static-access-shorthand/equality_A02_t08.dart +++ b/LanguageFeatures/Static-access-shorthand/equality_A02_t08.dart @@ -18,7 +18,7 @@ /// Test an extension type. /// @author sgrekhov22@gmail.com -// SharedOptions=--enable-experiment=enum-shorthands +// SharedOptions=--enable-experiment=dot-shorthands extension type const ET(T value) { const ET.id(this.value); diff --git a/LanguageFeatures/Static-access-shorthand/equality_A02_t09.dart b/LanguageFeatures/Static-access-shorthand/equality_A02_t09.dart index eb65dadb03..89d2907978 100644 --- a/LanguageFeatures/Static-access-shorthand/equality_A02_t09.dart +++ b/LanguageFeatures/Static-access-shorthand/equality_A02_t09.dart @@ -18,7 +18,7 @@ /// type. Test a class. /// @author sgrekhov22@gmail.com -// SharedOptions=--enable-experiment=enum-shorthands +// SharedOptions=--enable-experiment=dot-shorthands class C { C(); diff --git a/LanguageFeatures/Static-access-shorthand/equality_A02_t10.dart b/LanguageFeatures/Static-access-shorthand/equality_A02_t10.dart index 2acd409521..aaba6a582f 100644 --- a/LanguageFeatures/Static-access-shorthand/equality_A02_t10.dart +++ b/LanguageFeatures/Static-access-shorthand/equality_A02_t10.dart @@ -18,7 +18,7 @@ /// type. Test a mixin. /// @author sgrekhov22@gmail.com -// SharedOptions=--enable-experiment=enum-shorthands +// SharedOptions=--enable-experiment=dot-shorthands mixin M { static M get staticGetter => MC(); diff --git a/LanguageFeatures/Static-access-shorthand/equality_A02_t11.dart b/LanguageFeatures/Static-access-shorthand/equality_A02_t11.dart index 032d9eb661..9229550a7b 100644 --- a/LanguageFeatures/Static-access-shorthand/equality_A02_t11.dart +++ b/LanguageFeatures/Static-access-shorthand/equality_A02_t11.dart @@ -18,7 +18,7 @@ /// type. Test an enum. /// @author sgrekhov22@gmail.com -// SharedOptions=--enable-experiment=enum-shorthands +// SharedOptions=--enable-experiment=dot-shorthands enum E { e0, e1; diff --git a/LanguageFeatures/Static-access-shorthand/equality_A02_t12.dart b/LanguageFeatures/Static-access-shorthand/equality_A02_t12.dart index 4bc19e786c..8d3e22f051 100644 --- a/LanguageFeatures/Static-access-shorthand/equality_A02_t12.dart +++ b/LanguageFeatures/Static-access-shorthand/equality_A02_t12.dart @@ -18,7 +18,7 @@ /// type. Test an extension type. /// @author sgrekhov22@gmail.com -// SharedOptions=--enable-experiment=enum-shorthands +// SharedOptions=--enable-experiment=dot-shorthands extension type ET(int v) { ET.id(this.v); diff --git a/LanguageFeatures/Static-access-shorthand/grammar_A01_t01.dart b/LanguageFeatures/Static-access-shorthand/grammar_A01_t01.dart index f4498d4e80..fffbfe0316 100644 --- a/LanguageFeatures/Static-access-shorthand/grammar_A01_t01.dart +++ b/LanguageFeatures/Static-access-shorthand/grammar_A01_t01.dart @@ -25,7 +25,7 @@ /// accessed using the static access short syntax. /// @author sgrekhov22@gmail.com -// SharedOptions=--enable-experiment=enum-shorthands +// SharedOptions=--enable-experiment=dot-shorthands import '../../Utils/expect.dart'; diff --git a/LanguageFeatures/Static-access-shorthand/grammar_A01_t02.dart b/LanguageFeatures/Static-access-shorthand/grammar_A01_t02.dart index d22382cc82..b023769cf5 100644 --- a/LanguageFeatures/Static-access-shorthand/grammar_A01_t02.dart +++ b/LanguageFeatures/Static-access-shorthand/grammar_A01_t02.dart @@ -25,7 +25,7 @@ /// static access short syntax. /// @author sgrekhov22@gmail.com -// SharedOptions=--enable-experiment=enum-shorthands +// SharedOptions=--enable-experiment=dot-shorthands import '../../Utils/expect.dart'; diff --git a/LanguageFeatures/Static-access-shorthand/grammar_A01_t03.dart b/LanguageFeatures/Static-access-shorthand/grammar_A01_t03.dart index b1e74f8e10..5eea9aef95 100644 --- a/LanguageFeatures/Static-access-shorthand/grammar_A01_t03.dart +++ b/LanguageFeatures/Static-access-shorthand/grammar_A01_t03.dart @@ -25,7 +25,7 @@ /// accessed using the static access short syntax. /// @author sgrekhov22@gmail.com -// SharedOptions=--enable-experiment=enum-shorthands +// SharedOptions=--enable-experiment=dot-shorthands import '../../Utils/expect.dart'; diff --git a/LanguageFeatures/Static-access-shorthand/grammar_A01_t04.dart b/LanguageFeatures/Static-access-shorthand/grammar_A01_t04.dart index 20016938e6..90bb655cda 100644 --- a/LanguageFeatures/Static-access-shorthand/grammar_A01_t04.dart +++ b/LanguageFeatures/Static-access-shorthand/grammar_A01_t04.dart @@ -25,7 +25,7 @@ /// type can be accessed using the static access short syntax. /// @author sgrekhov22@gmail.com -// SharedOptions=--enable-experiment=enum-shorthands +// SharedOptions=--enable-experiment=dot-shorthands import '../../Utils/expect.dart'; diff --git a/LanguageFeatures/Static-access-shorthand/grammar_A01_t05.dart b/LanguageFeatures/Static-access-shorthand/grammar_A01_t05.dart index eddadb3e0b..e2eaf65da3 100644 --- a/LanguageFeatures/Static-access-shorthand/grammar_A01_t05.dart +++ b/LanguageFeatures/Static-access-shorthand/grammar_A01_t05.dart @@ -26,7 +26,7 @@ /// `await `. /// @author sgrekhov22@gmail.com -// SharedOptions=--enable-experiment=enum-shorthands +// SharedOptions=--enable-experiment=dot-shorthands import 'dart:async'; import '../../Utils/expect.dart'; diff --git a/LanguageFeatures/Static-access-shorthand/grammar_A01_t06.dart b/LanguageFeatures/Static-access-shorthand/grammar_A01_t06.dart index 26aaaec79c..ca537f6dd3 100644 --- a/LanguageFeatures/Static-access-shorthand/grammar_A01_t06.dart +++ b/LanguageFeatures/Static-access-shorthand/grammar_A01_t06.dart @@ -25,7 +25,7 @@ /// pattern. /// @author sgrekhov22@gmail.com -// SharedOptions=--enable-experiment=enum-shorthands +// SharedOptions=--enable-experiment=dot-shorthands import '../../Utils/expect.dart'; diff --git a/LanguageFeatures/Static-access-shorthand/grammar_A01_t07.dart b/LanguageFeatures/Static-access-shorthand/grammar_A01_t07.dart index 5e7f406d55..48f99f9072 100644 --- a/LanguageFeatures/Static-access-shorthand/grammar_A01_t07.dart +++ b/LanguageFeatures/Static-access-shorthand/grammar_A01_t07.dart @@ -27,7 +27,7 @@ /// shorthand expressions. /// @author sgrekhov22@gmail.com -// SharedOptions=--enable-experiment=enum-shorthands +// SharedOptions=--enable-experiment=dot-shorthands import '../../Utils/expect.dart'; diff --git a/LanguageFeatures/Static-access-shorthand/grammar_A01_t08.dart b/LanguageFeatures/Static-access-shorthand/grammar_A01_t08.dart index dda5b843d4..580a220581 100644 --- a/LanguageFeatures/Static-access-shorthand/grammar_A01_t08.dart +++ b/LanguageFeatures/Static-access-shorthand/grammar_A01_t08.dart @@ -26,7 +26,7 @@ /// `const '(' '.' new(arguments) ')'` are still compile-time errors. /// @author sgrekhov22@gmail.com -// SharedOptions=--enable-experiment=enum-shorthands +// SharedOptions=--enable-experiment=dot-shorthands class C { final String value; diff --git a/LanguageFeatures/Static-access-shorthand/grammar_A02_t01.dart b/LanguageFeatures/Static-access-shorthand/grammar_A02_t01.dart index f99b7e722b..f7bedd31ac 100644 --- a/LanguageFeatures/Static-access-shorthand/grammar_A02_t01.dart +++ b/LanguageFeatures/Static-access-shorthand/grammar_A02_t01.dart @@ -25,7 +25,7 @@ /// static access short syntax. /// @author sgrekhov22@gmail.com -// SharedOptions=--enable-experiment=enum-shorthands +// SharedOptions=--enable-experiment=dot-shorthands class C { final String value; diff --git a/LanguageFeatures/Static-access-shorthand/grammar_A02_t02.dart b/LanguageFeatures/Static-access-shorthand/grammar_A02_t02.dart index dd5c07e7a7..b2b4dbc033 100644 --- a/LanguageFeatures/Static-access-shorthand/grammar_A02_t02.dart +++ b/LanguageFeatures/Static-access-shorthand/grammar_A02_t02.dart @@ -25,7 +25,7 @@ /// factory constructors redirection. /// @author sgrekhov22@gmail.com -// SharedOptions=--enable-experiment=enum-shorthands +// SharedOptions=--enable-experiment=dot-shorthands class C { C(); diff --git a/LanguageFeatures/Static-access-shorthand/grammar_A03_t01.dart b/LanguageFeatures/Static-access-shorthand/grammar_A03_t01.dart index 35e247cc2e..3efdf21798 100644 --- a/LanguageFeatures/Static-access-shorthand/grammar_A03_t01.dart +++ b/LanguageFeatures/Static-access-shorthand/grammar_A03_t01.dart @@ -9,7 +9,7 @@ /// @description Checks that numerical literal like `.42` is still not an error /// @author sgrekhov22@gmail.com -// SharedOptions=--enable-experiment=enum-shorthands +// SharedOptions=--enable-experiment=dot-shorthands main() { .123; diff --git a/LanguageFeatures/Static-access-shorthand/grammar_A03_t02.dart b/LanguageFeatures/Static-access-shorthand/grammar_A03_t02.dart index 16c6af3e42..d908d32251 100644 --- a/LanguageFeatures/Static-access-shorthand/grammar_A03_t02.dart +++ b/LanguageFeatures/Static-access-shorthand/grammar_A03_t02.dart @@ -10,7 +10,7 @@ /// statement is started with `.`. /// @author sgrekhov22@gmail.com -// SharedOptions=--enable-experiment=enum-shorthands +// SharedOptions=--enable-experiment=dot-shorthands void foo() {} diff --git a/LanguageFeatures/Static-access-shorthand/grammar_A04_t01.dart b/LanguageFeatures/Static-access-shorthand/grammar_A04_t01.dart index 20b37e97aa..83d3b128c9 100644 --- a/LanguageFeatures/Static-access-shorthand/grammar_A04_t01.dart +++ b/LanguageFeatures/Static-access-shorthand/grammar_A04_t01.dart @@ -25,7 +25,7 @@ /// the `*` and `*=` operators. /// @author sgrekhov22@gmail.com -// SharedOptions=--enable-experiment=enum-shorthands +// SharedOptions=--enable-experiment=dot-shorthands import '../../Utils/expect.dart'; diff --git a/LanguageFeatures/Static-access-shorthand/grammar_A04_t02.dart b/LanguageFeatures/Static-access-shorthand/grammar_A04_t02.dart index 89cd418291..c887f9736a 100644 --- a/LanguageFeatures/Static-access-shorthand/grammar_A04_t02.dart +++ b/LanguageFeatures/Static-access-shorthand/grammar_A04_t02.dart @@ -25,7 +25,7 @@ /// the `/` and `/=` operators. /// @author sgrekhov22@gmail.com -// SharedOptions=--enable-experiment=enum-shorthands +// SharedOptions=--enable-experiment=dot-shorthands import '../../Utils/expect.dart'; diff --git a/LanguageFeatures/Static-access-shorthand/grammar_A04_t03.dart b/LanguageFeatures/Static-access-shorthand/grammar_A04_t03.dart index 4b0da90961..580dbb68d7 100644 --- a/LanguageFeatures/Static-access-shorthand/grammar_A04_t03.dart +++ b/LanguageFeatures/Static-access-shorthand/grammar_A04_t03.dart @@ -25,7 +25,7 @@ /// the `~/` and `~/=` operators. /// @author sgrekhov22@gmail.com -// SharedOptions=--enable-experiment=enum-shorthands +// SharedOptions=--enable-experiment=dot-shorthands import '../../Utils/expect.dart'; diff --git a/LanguageFeatures/Static-access-shorthand/grammar_A04_t04.dart b/LanguageFeatures/Static-access-shorthand/grammar_A04_t04.dart index 1c56e64883..e2ec5f71f8 100644 --- a/LanguageFeatures/Static-access-shorthand/grammar_A04_t04.dart +++ b/LanguageFeatures/Static-access-shorthand/grammar_A04_t04.dart @@ -25,7 +25,7 @@ /// the `%` and `%=` operators. /// @author sgrekhov22@gmail.com -// SharedOptions=--enable-experiment=enum-shorthands +// SharedOptions=--enable-experiment=dot-shorthands import '../../Utils/expect.dart'; diff --git a/LanguageFeatures/Static-access-shorthand/grammar_A04_t05.dart b/LanguageFeatures/Static-access-shorthand/grammar_A04_t05.dart index 5237eaca26..ef65627b1f 100644 --- a/LanguageFeatures/Static-access-shorthand/grammar_A04_t05.dart +++ b/LanguageFeatures/Static-access-shorthand/grammar_A04_t05.dart @@ -25,7 +25,7 @@ /// the `+` and `+=` operators. /// @author sgrekhov22@gmail.com -// SharedOptions=--enable-experiment=enum-shorthands +// SharedOptions=--enable-experiment=dot-shorthands import '../../Utils/expect.dart'; diff --git a/LanguageFeatures/Static-access-shorthand/grammar_A04_t06.dart b/LanguageFeatures/Static-access-shorthand/grammar_A04_t06.dart index 8e5b69abfc..ea3467a156 100644 --- a/LanguageFeatures/Static-access-shorthand/grammar_A04_t06.dart +++ b/LanguageFeatures/Static-access-shorthand/grammar_A04_t06.dart @@ -25,7 +25,7 @@ /// the `-` and `-=` operators. /// @author sgrekhov22@gmail.com -// SharedOptions=--enable-experiment=enum-shorthands +// SharedOptions=--enable-experiment=dot-shorthands import '../../Utils/expect.dart'; diff --git a/LanguageFeatures/Static-access-shorthand/grammar_A04_t07.dart b/LanguageFeatures/Static-access-shorthand/grammar_A04_t07.dart index b6935ad895..121aba60c1 100644 --- a/LanguageFeatures/Static-access-shorthand/grammar_A04_t07.dart +++ b/LanguageFeatures/Static-access-shorthand/grammar_A04_t07.dart @@ -25,7 +25,7 @@ /// the `<<` and `<<=` operators. /// @author sgrekhov22@gmail.com -// SharedOptions=--enable-experiment=enum-shorthands +// SharedOptions=--enable-experiment=dot-shorthands import '../../Utils/expect.dart'; diff --git a/LanguageFeatures/Static-access-shorthand/grammar_A04_t08.dart b/LanguageFeatures/Static-access-shorthand/grammar_A04_t08.dart index 31839dd924..6d36dedb67 100644 --- a/LanguageFeatures/Static-access-shorthand/grammar_A04_t08.dart +++ b/LanguageFeatures/Static-access-shorthand/grammar_A04_t08.dart @@ -25,7 +25,7 @@ /// the `>>` and `>>=` operators. /// @author sgrekhov22@gmail.com -// SharedOptions=--enable-experiment=enum-shorthands +// SharedOptions=--enable-experiment=dot-shorthands import '../../Utils/expect.dart'; diff --git a/LanguageFeatures/Static-access-shorthand/grammar_A04_t09.dart b/LanguageFeatures/Static-access-shorthand/grammar_A04_t09.dart index 08cc6c3233..1463c3fa95 100644 --- a/LanguageFeatures/Static-access-shorthand/grammar_A04_t09.dart +++ b/LanguageFeatures/Static-access-shorthand/grammar_A04_t09.dart @@ -25,7 +25,7 @@ /// the `>>>` and `>>>=` operators. /// @author sgrekhov22@gmail.com -// SharedOptions=--enable-experiment=enum-shorthands +// SharedOptions=--enable-experiment=dot-shorthands import '../../Utils/expect.dart'; diff --git a/LanguageFeatures/Static-access-shorthand/grammar_A04_t10.dart b/LanguageFeatures/Static-access-shorthand/grammar_A04_t10.dart index b82a2d56f6..083ffeaf82 100644 --- a/LanguageFeatures/Static-access-shorthand/grammar_A04_t10.dart +++ b/LanguageFeatures/Static-access-shorthand/grammar_A04_t10.dart @@ -25,7 +25,7 @@ /// the `&` and `&=` operators. /// @author sgrekhov22@gmail.com -// SharedOptions=--enable-experiment=enum-shorthands +// SharedOptions=--enable-experiment=dot-shorthands import '../../Utils/expect.dart'; diff --git a/LanguageFeatures/Static-access-shorthand/grammar_A04_t11.dart b/LanguageFeatures/Static-access-shorthand/grammar_A04_t11.dart index 5463cae005..d1b8048a82 100644 --- a/LanguageFeatures/Static-access-shorthand/grammar_A04_t11.dart +++ b/LanguageFeatures/Static-access-shorthand/grammar_A04_t11.dart @@ -25,7 +25,7 @@ /// the `^` and `^=` operators. /// @author sgrekhov22@gmail.com -// SharedOptions=--enable-experiment=enum-shorthands +// SharedOptions=--enable-experiment=dot-shorthands import '../../Utils/expect.dart'; diff --git a/LanguageFeatures/Static-access-shorthand/grammar_A04_t12.dart b/LanguageFeatures/Static-access-shorthand/grammar_A04_t12.dart index ccfe2198f9..e1d9544b05 100644 --- a/LanguageFeatures/Static-access-shorthand/grammar_A04_t12.dart +++ b/LanguageFeatures/Static-access-shorthand/grammar_A04_t12.dart @@ -25,7 +25,7 @@ /// the `|` and `|=` operators. /// @author sgrekhov22@gmail.com -// SharedOptions=--enable-experiment=enum-shorthands +// SharedOptions=--enable-experiment=dot-shorthands import '../../Utils/expect.dart'; diff --git a/LanguageFeatures/Static-access-shorthand/grammar_A04_t13.dart b/LanguageFeatures/Static-access-shorthand/grammar_A04_t13.dart index 18e2745b86..83a16c7371 100644 --- a/LanguageFeatures/Static-access-shorthand/grammar_A04_t13.dart +++ b/LanguageFeatures/Static-access-shorthand/grammar_A04_t13.dart @@ -25,7 +25,7 @@ /// the `<` operator. /// @author sgrekhov22@gmail.com -// SharedOptions=--enable-experiment=enum-shorthands +// SharedOptions=--enable-experiment=dot-shorthands import '../../Utils/expect.dart'; diff --git a/LanguageFeatures/Static-access-shorthand/grammar_A04_t14.dart b/LanguageFeatures/Static-access-shorthand/grammar_A04_t14.dart index 81375a7a80..f8b1ae5596 100644 --- a/LanguageFeatures/Static-access-shorthand/grammar_A04_t14.dart +++ b/LanguageFeatures/Static-access-shorthand/grammar_A04_t14.dart @@ -25,7 +25,7 @@ /// the `<=` operator. /// @author sgrekhov22@gmail.com -// SharedOptions=--enable-experiment=enum-shorthands +// SharedOptions=--enable-experiment=dot-shorthands import '../../Utils/expect.dart'; diff --git a/LanguageFeatures/Static-access-shorthand/grammar_A04_t15.dart b/LanguageFeatures/Static-access-shorthand/grammar_A04_t15.dart index 50ef9ef517..13b1e9c937 100644 --- a/LanguageFeatures/Static-access-shorthand/grammar_A04_t15.dart +++ b/LanguageFeatures/Static-access-shorthand/grammar_A04_t15.dart @@ -25,7 +25,7 @@ /// the `>` operator. /// @author sgrekhov22@gmail.com -// SharedOptions=--enable-experiment=enum-shorthands +// SharedOptions=--enable-experiment=dot-shorthands import '../../Utils/expect.dart'; diff --git a/LanguageFeatures/Static-access-shorthand/grammar_A04_t16.dart b/LanguageFeatures/Static-access-shorthand/grammar_A04_t16.dart index a99f2452a4..389a3a11bc 100644 --- a/LanguageFeatures/Static-access-shorthand/grammar_A04_t16.dart +++ b/LanguageFeatures/Static-access-shorthand/grammar_A04_t16.dart @@ -25,7 +25,7 @@ /// the `>=` operator. /// @author sgrekhov22@gmail.com -// SharedOptions=--enable-experiment=enum-shorthands +// SharedOptions=--enable-experiment=dot-shorthands import '../../Utils/expect.dart'; diff --git a/LanguageFeatures/Static-access-shorthand/grammar_A04_t17.dart b/LanguageFeatures/Static-access-shorthand/grammar_A04_t17.dart index 95f99556c6..3ec6e46867 100644 --- a/LanguageFeatures/Static-access-shorthand/grammar_A04_t17.dart +++ b/LanguageFeatures/Static-access-shorthand/grammar_A04_t17.dart @@ -25,7 +25,7 @@ /// the `[]` operator. /// @author sgrekhov22@gmail.com -// SharedOptions=--enable-experiment=enum-shorthands +// SharedOptions=--enable-experiment=dot-shorthands import '../../Utils/expect.dart'; diff --git a/LanguageFeatures/Static-access-shorthand/grammar_A04_t18.dart b/LanguageFeatures/Static-access-shorthand/grammar_A04_t18.dart index 5037b4ad92..37974733df 100644 --- a/LanguageFeatures/Static-access-shorthand/grammar_A04_t18.dart +++ b/LanguageFeatures/Static-access-shorthand/grammar_A04_t18.dart @@ -25,7 +25,7 @@ /// the `[]=` operator. Test the first operand. /// @author sgrekhov22@gmail.com -// SharedOptions=--enable-experiment=enum-shorthands +// SharedOptions=--enable-experiment=dot-shorthands import '../../Utils/expect.dart'; diff --git a/LanguageFeatures/Static-access-shorthand/grammar_A04_t19.dart b/LanguageFeatures/Static-access-shorthand/grammar_A04_t19.dart index 1a05c5b00b..609cf2abaf 100644 --- a/LanguageFeatures/Static-access-shorthand/grammar_A04_t19.dart +++ b/LanguageFeatures/Static-access-shorthand/grammar_A04_t19.dart @@ -25,7 +25,7 @@ /// the `[]=` operator. Test the second operand. /// @author sgrekhov22@gmail.com -// SharedOptions=--enable-experiment=enum-shorthands +// SharedOptions=--enable-experiment=dot-shorthands import '../../Utils/expect.dart'; diff --git a/LanguageFeatures/Static-access-shorthand/grammar_A05_t01.dart b/LanguageFeatures/Static-access-shorthand/grammar_A05_t01.dart index 51f01da22a..0825f64a57 100644 --- a/LanguageFeatures/Static-access-shorthand/grammar_A05_t01.dart +++ b/LanguageFeatures/Static-access-shorthand/grammar_A05_t01.dart @@ -25,7 +25,7 @@ /// shorthand syntax with the prefix `!` operator. /// @author sgrekhov22@gmail.com -// SharedOptions=--enable-experiment=enum-shorthands +// SharedOptions=--enable-experiment=dot-shorthands class C { static bool get getterTrue => true; diff --git a/LanguageFeatures/Static-access-shorthand/grammar_A05_t02.dart b/LanguageFeatures/Static-access-shorthand/grammar_A05_t02.dart index 672e2d9f30..ada05a265d 100644 --- a/LanguageFeatures/Static-access-shorthand/grammar_A05_t02.dart +++ b/LanguageFeatures/Static-access-shorthand/grammar_A05_t02.dart @@ -25,7 +25,7 @@ /// shorthand syntax with the unary `-` operator. /// @author sgrekhov22@gmail.com -// SharedOptions=--enable-experiment=enum-shorthands +// SharedOptions=--enable-experiment=dot-shorthands class C { static int get one => 1; diff --git a/LanguageFeatures/Static-access-shorthand/grammar_A05_t03.dart b/LanguageFeatures/Static-access-shorthand/grammar_A05_t03.dart index 89c71093cd..23051245d8 100644 --- a/LanguageFeatures/Static-access-shorthand/grammar_A05_t03.dart +++ b/LanguageFeatures/Static-access-shorthand/grammar_A05_t03.dart @@ -25,7 +25,7 @@ /// shorthand syntax with the `~` operator. /// @author sgrekhov22@gmail.com -// SharedOptions=--enable-experiment=enum-shorthands +// SharedOptions=--enable-experiment=dot-shorthands class C { static int get one => 1; diff --git a/LanguageFeatures/Static-access-shorthand/grammar_A05_t04.dart b/LanguageFeatures/Static-access-shorthand/grammar_A05_t04.dart index 2bf07fbef4..fc14b7d736 100644 --- a/LanguageFeatures/Static-access-shorthand/grammar_A05_t04.dart +++ b/LanguageFeatures/Static-access-shorthand/grammar_A05_t04.dart @@ -25,7 +25,7 @@ /// shorthand syntax with the prefix `++` operator. /// @author sgrekhov22@gmail.com -// SharedOptions=--enable-experiment=enum-shorthands +// SharedOptions=--enable-experiment=dot-shorthands class C { static int get one => 1; diff --git a/LanguageFeatures/Static-access-shorthand/grammar_A05_t05.dart b/LanguageFeatures/Static-access-shorthand/grammar_A05_t05.dart index 9a0d7c215d..46a365f909 100644 --- a/LanguageFeatures/Static-access-shorthand/grammar_A05_t05.dart +++ b/LanguageFeatures/Static-access-shorthand/grammar_A05_t05.dart @@ -25,7 +25,7 @@ /// shorthand syntax with the prefix `--` operator. /// @author sgrekhov22@gmail.com -// SharedOptions=--enable-experiment=enum-shorthands +// SharedOptions=--enable-experiment=dot-shorthands class C { static int get one => 1; diff --git a/LanguageFeatures/Static-access-shorthand/grammar_A06_t01.dart b/LanguageFeatures/Static-access-shorthand/grammar_A06_t01.dart index 9fa41d2c42..ae9121a337 100644 --- a/LanguageFeatures/Static-access-shorthand/grammar_A06_t01.dart +++ b/LanguageFeatures/Static-access-shorthand/grammar_A06_t01.dart @@ -25,7 +25,7 @@ /// shorthand syntax with the postfix `++` operator. /// @author sgrekhov22@gmail.com -// SharedOptions=--enable-experiment=enum-shorthands +// SharedOptions=--enable-experiment=dot-shorthands class C { static int value = 1; diff --git a/LanguageFeatures/Static-access-shorthand/grammar_A06_t02.dart b/LanguageFeatures/Static-access-shorthand/grammar_A06_t02.dart index afb233cd18..98ce3b0cc1 100644 --- a/LanguageFeatures/Static-access-shorthand/grammar_A06_t02.dart +++ b/LanguageFeatures/Static-access-shorthand/grammar_A06_t02.dart @@ -25,7 +25,7 @@ /// shorthand syntax with the postfix `--` operator. /// @author sgrekhov22@gmail.com -// SharedOptions=--enable-experiment=enum-shorthands +// SharedOptions=--enable-experiment=dot-shorthands class C { static int value = 1; diff --git a/LanguageFeatures/Static-access-shorthand/grammar_A06_t03.dart b/LanguageFeatures/Static-access-shorthand/grammar_A06_t03.dart index 4185ff7de3..02dfce5895 100644 --- a/LanguageFeatures/Static-access-shorthand/grammar_A06_t03.dart +++ b/LanguageFeatures/Static-access-shorthand/grammar_A06_t03.dart @@ -25,7 +25,7 @@ /// shorthand syntax with the `as` operator. /// @author sgrekhov22@gmail.com -// SharedOptions=--enable-experiment=enum-shorthands +// SharedOptions=--enable-experiment=dot-shorthands class C { static C one = C(1); diff --git a/LanguageFeatures/Static-access-shorthand/grammar_A06_t04.dart b/LanguageFeatures/Static-access-shorthand/grammar_A06_t04.dart index 9a84c84a85..4ab8080f55 100644 --- a/LanguageFeatures/Static-access-shorthand/grammar_A06_t04.dart +++ b/LanguageFeatures/Static-access-shorthand/grammar_A06_t04.dart @@ -25,7 +25,7 @@ /// shorthand syntax with the `is` operator. /// @author sgrekhov22@gmail.com -// SharedOptions=--enable-experiment=enum-shorthands +// SharedOptions=--enable-experiment=dot-shorthands class C { static C one = C(1); diff --git a/LanguageFeatures/Static-access-shorthand/grammar_A06_t05.dart b/LanguageFeatures/Static-access-shorthand/grammar_A06_t05.dart index ea20a46acc..569b010f3d 100644 --- a/LanguageFeatures/Static-access-shorthand/grammar_A06_t05.dart +++ b/LanguageFeatures/Static-access-shorthand/grammar_A06_t05.dart @@ -25,7 +25,7 @@ /// shorthand syntax with the `is!` operator. /// @author sgrekhov22@gmail.com -// SharedOptions=--enable-experiment=enum-shorthands +// SharedOptions=--enable-experiment=dot-shorthands class C { static C one = C(1); diff --git a/LanguageFeatures/Static-access-shorthand/grammar_A07_t01.dart b/LanguageFeatures/Static-access-shorthand/grammar_A07_t01.dart index 9c41a5303c..b2de6fbd3f 100644 --- a/LanguageFeatures/Static-access-shorthand/grammar_A07_t01.dart +++ b/LanguageFeatures/Static-access-shorthand/grammar_A07_t01.dart @@ -25,7 +25,7 @@ /// shorthand syntax in string literals. /// @author sgrekhov22@gmail.com -// SharedOptions=--enable-experiment=enum-shorthands +// SharedOptions=--enable-experiment=dot-shorthands class C { static String one = "one"; diff --git a/LanguageFeatures/Static-access-shorthand/grammar_A07_t02.dart b/LanguageFeatures/Static-access-shorthand/grammar_A07_t02.dart index d2765aa24f..af95e7ed88 100644 --- a/LanguageFeatures/Static-access-shorthand/grammar_A07_t02.dart +++ b/LanguageFeatures/Static-access-shorthand/grammar_A07_t02.dart @@ -25,7 +25,7 @@ /// shorthand syntax in string literals. /// @author sgrekhov22@gmail.com -// SharedOptions=--enable-experiment=enum-shorthands +// SharedOptions=--enable-experiment=dot-shorthands main() { String s = "${.fromCharCode(100)}"; diff --git a/LanguageFeatures/Static-access-shorthand/non_ambiguity_A01_t01.dart b/LanguageFeatures/Static-access-shorthand/non_ambiguity_A01_t01.dart index 2ece784292..1a92c359b1 100644 --- a/LanguageFeatures/Static-access-shorthand/non_ambiguity_A01_t01.dart +++ b/LanguageFeatures/Static-access-shorthand/non_ambiguity_A01_t01.dart @@ -12,7 +12,7 @@ /// @description Checks that `{e1?.id:e2}` is parsed like a map literal. /// @author sgrekhov22@gmail.com -// SharedOptions=--enable-experiment=enum-shorthands +// SharedOptions=--enable-experiment=dot-shorthands import '../../Utils/expect.dart'; diff --git a/LanguageFeatures/Static-access-shorthand/non_ambiguity_A01_t02.dart b/LanguageFeatures/Static-access-shorthand/non_ambiguity_A01_t02.dart index 1add0c9e20..2676f3a2f2 100644 --- a/LanguageFeatures/Static-access-shorthand/non_ambiguity_A01_t02.dart +++ b/LanguageFeatures/Static-access-shorthand/non_ambiguity_A01_t02.dart @@ -12,7 +12,7 @@ /// @description Checks that `{e1? .id:e2}` is parsed like a set literal. /// @author sgrekhov22@gmail.com -// SharedOptions=--enable-experiment=enum-shorthands +// SharedOptions=--enable-experiment=dot-shorthands import '../../Utils/expect.dart'; diff --git a/LanguageFeatures/Static-access-shorthand/non_ambiguity_A02_t01.dart b/LanguageFeatures/Static-access-shorthand/non_ambiguity_A02_t01.dart index 16a3294d90..b5a448a1da 100644 --- a/LanguageFeatures/Static-access-shorthand/non_ambiguity_A02_t01.dart +++ b/LanguageFeatures/Static-access-shorthand/non_ambiguity_A02_t01.dart @@ -13,7 +13,7 @@ /// `? C.id`. /// @author sgrekhov22@gmail.com -// SharedOptions=--enable-experiment=enum-shorthands,null-aware-elements +// SharedOptions=--enable-experiment=dot-shorthands,null-aware-elements import '../../Utils/expect.dart'; diff --git a/LanguageFeatures/Static-access-shorthand/non_ambiguity_A02_t02.dart b/LanguageFeatures/Static-access-shorthand/non_ambiguity_A02_t02.dart index eb83aa23ac..c69e4171e3 100644 --- a/LanguageFeatures/Static-access-shorthand/non_ambiguity_A02_t02.dart +++ b/LanguageFeatures/Static-access-shorthand/non_ambiguity_A02_t02.dart @@ -13,7 +13,7 @@ /// error. /// @author sgrekhov22@gmail.com -// SharedOptions=--enable-experiment=enum-shorthands,null-aware-elements +// SharedOptions=--enable-experiment=dot-shorthands,null-aware-elements class C { int value; diff --git a/LanguageFeatures/Static-access-shorthand/non_ambiguity_A02_t03.dart b/LanguageFeatures/Static-access-shorthand/non_ambiguity_A02_t03.dart index 3135aa3b5e..f43a7d70a5 100644 --- a/LanguageFeatures/Static-access-shorthand/non_ambiguity_A02_t03.dart +++ b/LanguageFeatures/Static-access-shorthand/non_ambiguity_A02_t03.dart @@ -13,7 +13,7 @@ /// `... .id` /// @author sgrekhov22@gmail.com -// SharedOptions=--enable-experiment=enum-shorthands +// SharedOptions=--enable-experiment=dot-shorthands import '../../Utils/expect.dart'; diff --git a/LanguageFeatures/Static-access-shorthand/non_ambiguity_A02_t04.dart b/LanguageFeatures/Static-access-shorthand/non_ambiguity_A02_t04.dart index fe3ca8d1f6..754928125c 100644 --- a/LanguageFeatures/Static-access-shorthand/non_ambiguity_A02_t04.dart +++ b/LanguageFeatures/Static-access-shorthand/non_ambiguity_A02_t04.dart @@ -13,7 +13,7 @@ /// `... C.id` /// @author sgrekhov22@gmail.com -// SharedOptions=--enable-experiment=enum-shorthands +// SharedOptions=--enable-experiment=dot-shorthands import '../../Utils/expect.dart'; diff --git a/LanguageFeatures/Static-access-shorthand/non_ambiguity_A02_t05.dart b/LanguageFeatures/Static-access-shorthand/non_ambiguity_A02_t05.dart index cb3d8559ce..ce6b8adf9f 100644 --- a/LanguageFeatures/Static-access-shorthand/non_ambiguity_A02_t05.dart +++ b/LanguageFeatures/Static-access-shorthand/non_ambiguity_A02_t05.dart @@ -13,7 +13,7 @@ /// `...? .id` /// @author sgrekhov22@gmail.com -// SharedOptions=--enable-experiment=enum-shorthands +// SharedOptions=--enable-experiment=dot-shorthands import '../../Utils/expect.dart'; diff --git a/LanguageFeatures/Static-access-shorthand/non_ambiguity_A02_t06.dart b/LanguageFeatures/Static-access-shorthand/non_ambiguity_A02_t06.dart index cecb4959c5..91e29256b0 100644 --- a/LanguageFeatures/Static-access-shorthand/non_ambiguity_A02_t06.dart +++ b/LanguageFeatures/Static-access-shorthand/non_ambiguity_A02_t06.dart @@ -13,7 +13,7 @@ /// `...? C.id` /// @author sgrekhov22@gmail.com -// SharedOptions=--enable-experiment=enum-shorthands +// SharedOptions=--enable-experiment=dot-shorthands import '../../Utils/expect.dart'; diff --git a/LanguageFeatures/Static-access-shorthand/patterns_A01_t01.dart b/LanguageFeatures/Static-access-shorthand/patterns_A01_t01.dart index 13f9414672..84ae1d13c0 100644 --- a/LanguageFeatures/Static-access-shorthand/patterns_A01_t01.dart +++ b/LanguageFeatures/Static-access-shorthand/patterns_A01_t01.dart @@ -20,7 +20,7 @@ /// shorthand context of the `` /// @author sgrekhov22@gmail.com -// SharedOptions=--enable-experiment=enum-shorthands +// SharedOptions=--enable-experiment=dot-shorthands import '../../Utils/expect.dart'; diff --git a/LanguageFeatures/Static-access-shorthand/patterns_A01_t03.dart b/LanguageFeatures/Static-access-shorthand/patterns_A01_t03.dart index 8e09c9a9eb..efbdec664a 100644 --- a/LanguageFeatures/Static-access-shorthand/patterns_A01_t03.dart +++ b/LanguageFeatures/Static-access-shorthand/patterns_A01_t03.dart @@ -19,7 +19,7 @@ /// pattern the matched value type has no appropriate member. /// @author sgrekhov22@gmail.com -// SharedOptions=--enable-experiment=enum-shorthands +// SharedOptions=--enable-experiment=dot-shorthands class C { final int value; diff --git a/LanguageFeatures/Static-access-shorthand/patterns_A02_t01.dart b/LanguageFeatures/Static-access-shorthand/patterns_A02_t01.dart index facd940401..96cd495416 100644 --- a/LanguageFeatures/Static-access-shorthand/patterns_A02_t01.dart +++ b/LanguageFeatures/Static-access-shorthand/patterns_A02_t01.dart @@ -16,7 +16,7 @@ /// context type it's given. /// @author sgrekhov22@gmail.com -// SharedOptions=--enable-experiment=enum-shorthands +// SharedOptions=--enable-experiment=dot-shorthands import '../../Utils/expect.dart'; diff --git a/LanguageFeatures/Static-access-shorthand/patterns_A02_t02.dart b/LanguageFeatures/Static-access-shorthand/patterns_A02_t02.dart index 079f8a8f4b..5bf041f3e2 100644 --- a/LanguageFeatures/Static-access-shorthand/patterns_A02_t02.dart +++ b/LanguageFeatures/Static-access-shorthand/patterns_A02_t02.dart @@ -16,7 +16,7 @@ /// context type it's given. /// @author sgrekhov22@gmail.com -// SharedOptions=--enable-experiment=enum-shorthands +// SharedOptions=--enable-experiment=dot-shorthands import '../../Utils/expect.dart'; diff --git a/LanguageFeatures/Static-access-shorthand/patterns_A02_t03.dart b/LanguageFeatures/Static-access-shorthand/patterns_A02_t03.dart index a8434046b3..9a2b4118ff 100644 --- a/LanguageFeatures/Static-access-shorthand/patterns_A02_t03.dart +++ b/LanguageFeatures/Static-access-shorthand/patterns_A02_t03.dart @@ -16,7 +16,7 @@ /// context type it's given. /// @author sgrekhov22@gmail.com -// SharedOptions=--enable-experiment=enum-shorthands +// SharedOptions=--enable-experiment=dot-shorthands import '../../Utils/expect.dart'; diff --git a/LanguageFeatures/Static-access-shorthand/patterns_A02_t05.dart b/LanguageFeatures/Static-access-shorthand/patterns_A02_t05.dart index cbb7acb7d6..db3f1fd7a8 100644 --- a/LanguageFeatures/Static-access-shorthand/patterns_A02_t05.dart +++ b/LanguageFeatures/Static-access-shorthand/patterns_A02_t05.dart @@ -16,7 +16,7 @@ /// context type it's given. /// @author sgrekhov22@gmail.com -// SharedOptions=--enable-experiment=enum-shorthands +// SharedOptions=--enable-experiment=dot-shorthands import '../../Utils/expect.dart'; diff --git a/LanguageFeatures/Static-access-shorthand/patterns_A02_t06.dart b/LanguageFeatures/Static-access-shorthand/patterns_A02_t06.dart index 51e1d90e03..d1ac441aae 100644 --- a/LanguageFeatures/Static-access-shorthand/patterns_A02_t06.dart +++ b/LanguageFeatures/Static-access-shorthand/patterns_A02_t06.dart @@ -16,7 +16,7 @@ /// context type it's given. /// @author sgrekhov22@gmail.com -// SharedOptions=--enable-experiment=enum-shorthands +// SharedOptions=--enable-experiment=dot-shorthands import '../../Utils/expect.dart'; diff --git a/LanguageFeatures/Static-access-shorthand/patterns_A02_t07.dart b/LanguageFeatures/Static-access-shorthand/patterns_A02_t07.dart index edf4b42afa..5c391478f6 100644 --- a/LanguageFeatures/Static-access-shorthand/patterns_A02_t07.dart +++ b/LanguageFeatures/Static-access-shorthand/patterns_A02_t07.dart @@ -16,7 +16,7 @@ /// context type it's given. /// @author sgrekhov22@gmail.com -// SharedOptions=--enable-experiment=enum-shorthands +// SharedOptions=--enable-experiment=dot-shorthands import '../../Utils/expect.dart'; diff --git a/LanguageFeatures/Static-access-shorthand/patterns_A02_t08.dart b/LanguageFeatures/Static-access-shorthand/patterns_A02_t08.dart index a16d15ec0c..1a63b05755 100644 --- a/LanguageFeatures/Static-access-shorthand/patterns_A02_t08.dart +++ b/LanguageFeatures/Static-access-shorthand/patterns_A02_t08.dart @@ -16,7 +16,7 @@ /// the context type it's given. /// @author sgrekhov22@gmail.com -// SharedOptions=--enable-experiment=enum-shorthands +// SharedOptions=--enable-experiment=dot-shorthands import '../../Utils/expect.dart'; diff --git a/LanguageFeatures/Static-access-shorthand/patterns_A02_t09.dart b/LanguageFeatures/Static-access-shorthand/patterns_A02_t09.dart index ee5d9f7e3a..19c0da7517 100644 --- a/LanguageFeatures/Static-access-shorthand/patterns_A02_t09.dart +++ b/LanguageFeatures/Static-access-shorthand/patterns_A02_t09.dart @@ -16,7 +16,7 @@ /// type it's given. /// @author sgrekhov22@gmail.com -// SharedOptions=--enable-experiment=enum-shorthands +// SharedOptions=--enable-experiment=dot-shorthands import '../../Utils/expect.dart'; diff --git a/LanguageFeatures/Static-access-shorthand/patterns_A02_t10.dart b/LanguageFeatures/Static-access-shorthand/patterns_A02_t10.dart index 378e5de760..643b14e0bc 100644 --- a/LanguageFeatures/Static-access-shorthand/patterns_A02_t10.dart +++ b/LanguageFeatures/Static-access-shorthand/patterns_A02_t10.dart @@ -16,7 +16,7 @@ /// type it's given. /// @author sgrekhov22@gmail.com -// SharedOptions=--enable-experiment=enum-shorthands +// SharedOptions=--enable-experiment=dot-shorthands import '../../Utils/expect.dart'; diff --git a/LanguageFeatures/Static-access-shorthand/patterns_A02_t11.dart b/LanguageFeatures/Static-access-shorthand/patterns_A02_t11.dart index cbc707986c..ef3bb337c9 100644 --- a/LanguageFeatures/Static-access-shorthand/patterns_A02_t11.dart +++ b/LanguageFeatures/Static-access-shorthand/patterns_A02_t11.dart @@ -16,7 +16,7 @@ /// context type it's given. /// @author sgrekhov22@gmail.com -// SharedOptions=--enable-experiment=enum-shorthands +// SharedOptions=--enable-experiment=dot-shorthands import '../../Utils/expect.dart'; diff --git a/LanguageFeatures/Static-access-shorthand/patterns_A02_t12.dart b/LanguageFeatures/Static-access-shorthand/patterns_A02_t12.dart index 0d137e100d..e2c409a730 100644 --- a/LanguageFeatures/Static-access-shorthand/patterns_A02_t12.dart +++ b/LanguageFeatures/Static-access-shorthand/patterns_A02_t12.dart @@ -16,7 +16,7 @@ /// context type it's given. /// @author sgrekhov22@gmail.com -// SharedOptions=--enable-experiment=enum-shorthands +// SharedOptions=--enable-experiment=dot-shorthands import '../../Utils/expect.dart'; diff --git a/LanguageFeatures/Static-access-shorthand/semantics_A01_t01.dart b/LanguageFeatures/Static-access-shorthand/semantics_A01_t01.dart index 17137a5a64..abfb79dbfb 100644 --- a/LanguageFeatures/Static-access-shorthand/semantics_A01_t01.dart +++ b/LanguageFeatures/Static-access-shorthand/semantics_A01_t01.dart @@ -25,7 +25,7 @@ /// alias expansion. /// @author sgrekhov22@gmail.com -// SharedOptions=--enable-experiment=enum-shorthands +// SharedOptions=--enable-experiment=dot-shorthands import '../../Utils/expect.dart'; diff --git a/LanguageFeatures/Static-access-shorthand/semantics_A01_t02.dart b/LanguageFeatures/Static-access-shorthand/semantics_A01_t02.dart index 872095cf97..30b4ba30c3 100644 --- a/LanguageFeatures/Static-access-shorthand/semantics_A01_t02.dart +++ b/LanguageFeatures/Static-access-shorthand/semantics_A01_t02.dart @@ -25,7 +25,7 @@ /// alias expansion. Test unprefixed import. /// @author sgrekhov22@gmail.com -// SharedOptions=--enable-experiment=enum-shorthands +// SharedOptions=--enable-experiment=dot-shorthands import '../../Utils/expect.dart'; import 'shorthand_lib.dart'; diff --git a/LanguageFeatures/Static-access-shorthand/semantics_A01_t03.dart b/LanguageFeatures/Static-access-shorthand/semantics_A01_t03.dart index c6925a5b79..d6c8ccea70 100644 --- a/LanguageFeatures/Static-access-shorthand/semantics_A01_t03.dart +++ b/LanguageFeatures/Static-access-shorthand/semantics_A01_t03.dart @@ -25,7 +25,7 @@ /// alias expansion. Test prefixed import. /// @author sgrekhov22@gmail.com -// SharedOptions=--enable-experiment=enum-shorthands +// SharedOptions=--enable-experiment=dot-shorthands import '../../Utils/expect.dart'; import 'shorthand_lib.dart' as p; diff --git a/LanguageFeatures/Static-access-shorthand/semantics_A01_t04.dart b/LanguageFeatures/Static-access-shorthand/semantics_A01_t04.dart index 745de22473..312a0d0c16 100644 --- a/LanguageFeatures/Static-access-shorthand/semantics_A01_t04.dart +++ b/LanguageFeatures/Static-access-shorthand/semantics_A01_t04.dart @@ -24,7 +24,7 @@ /// of the form `.id` includes a type alias expansion. /// @author sgrekhov22@gmail.com -// SharedOptions=--enable-experiment=enum-shorthands +// SharedOptions=--enable-experiment=dot-shorthands import '../../Utils/expect.dart'; diff --git a/LanguageFeatures/Static-access-shorthand/semantics_A01_t05.dart b/LanguageFeatures/Static-access-shorthand/semantics_A01_t05.dart index 04825dd619..eed4512bc1 100644 --- a/LanguageFeatures/Static-access-shorthand/semantics_A01_t05.dart +++ b/LanguageFeatures/Static-access-shorthand/semantics_A01_t05.dart @@ -25,7 +25,7 @@ /// import. /// @author sgrekhov22@gmail.com -// SharedOptions=--enable-experiment=enum-shorthands +// SharedOptions=--enable-experiment=dot-shorthands import '../../Utils/expect.dart'; import 'shorthand_lib.dart'; diff --git a/LanguageFeatures/Static-access-shorthand/semantics_A01_t06.dart b/LanguageFeatures/Static-access-shorthand/semantics_A01_t06.dart index daeb9b04e6..8d997b3c23 100644 --- a/LanguageFeatures/Static-access-shorthand/semantics_A01_t06.dart +++ b/LanguageFeatures/Static-access-shorthand/semantics_A01_t06.dart @@ -25,7 +25,7 @@ /// import. /// @author sgrekhov22@gmail.com -// SharedOptions=--enable-experiment=enum-shorthands +// SharedOptions=--enable-experiment=dot-shorthands import '../../Utils/expect.dart'; import 'shorthand_lib.dart' as p; diff --git a/LanguageFeatures/Static-access-shorthand/semantics_A02_t01.dart b/LanguageFeatures/Static-access-shorthand/semantics_A02_t01.dart index d4710d1e70..6998a1de99 100644 --- a/LanguageFeatures/Static-access-shorthand/semantics_A02_t01.dart +++ b/LanguageFeatures/Static-access-shorthand/semantics_A02_t01.dart @@ -25,7 +25,7 @@ /// context doesn't declare a member named `id`. /// @author sgrekhov22@gmail.com -// SharedOptions=--enable-experiment=enum-shorthands +// SharedOptions=--enable-experiment=dot-shorthands import 'dart:async'; diff --git a/LanguageFeatures/Static-access-shorthand/semantics_A03_t01.dart b/LanguageFeatures/Static-access-shorthand/semantics_A03_t01.dart index a0fdcdeb3e..5b6629f00d 100644 --- a/LanguageFeatures/Static-access-shorthand/semantics_A03_t01.dart +++ b/LanguageFeatures/Static-access-shorthand/semantics_A03_t01.dart @@ -24,7 +24,7 @@ /// of the shorthand is not assignable to the type of the left hand expression. /// @author sgrekhov22@gmail.com -// SharedOptions=--enable-experiment=enum-shorthands +// SharedOptions=--enable-experiment=dot-shorthands class C { T value; diff --git a/LanguageFeatures/Static-access-shorthand/semantics_A04_t01.dart b/LanguageFeatures/Static-access-shorthand/semantics_A04_t01.dart index c4c945577f..385ca3eaa5 100644 --- a/LanguageFeatures/Static-access-shorthand/semantics_A04_t01.dart +++ b/LanguageFeatures/Static-access-shorthand/semantics_A04_t01.dart @@ -24,7 +24,7 @@ /// shorthand syntax even if name of that type is out of scope. /// @author sgrekhov22@gmail.com -// SharedOptions=--enable-experiment=enum-shorthands +// SharedOptions=--enable-experiment=dot-shorthands import '../../Utils/expect.dart'; import 'semantics_lib.dart'; diff --git a/LanguageFeatures/Static-access-shorthand/semantics_A04_t02.dart b/LanguageFeatures/Static-access-shorthand/semantics_A04_t02.dart index 9089a217d4..2b68350cc3 100644 --- a/LanguageFeatures/Static-access-shorthand/semantics_A04_t02.dart +++ b/LanguageFeatures/Static-access-shorthand/semantics_A04_t02.dart @@ -24,7 +24,7 @@ /// shorthand syntax even if name of that type is shadowed. /// @author sgrekhov22@gmail.com -// SharedOptions=--enable-experiment=enum-shorthands +// SharedOptions=--enable-experiment=dot-shorthands import '../../Utils/expect.dart'; import 'semantics_lib.dart'; diff --git a/LanguageFeatures/Static-access-shorthand/semantics_A04_t03.dart b/LanguageFeatures/Static-access-shorthand/semantics_A04_t03.dart index a1a16f1144..c1f62af130 100644 --- a/LanguageFeatures/Static-access-shorthand/semantics_A04_t03.dart +++ b/LanguageFeatures/Static-access-shorthand/semantics_A04_t03.dart @@ -24,7 +24,7 @@ /// member depending on the context type. /// @author sgrekhov22@gmail.com -// SharedOptions=--enable-experiment=enum-shorthands +// SharedOptions=--enable-experiment=dot-shorthands import '../../Utils/expect.dart'; diff --git a/LanguageFeatures/Static-access-shorthand/semantics_A05_t01.dart b/LanguageFeatures/Static-access-shorthand/semantics_A05_t01.dart index 894e4d264d..4ec3809675 100644 --- a/LanguageFeatures/Static-access-shorthand/semantics_A05_t01.dart +++ b/LanguageFeatures/Static-access-shorthand/semantics_A05_t01.dart @@ -24,7 +24,7 @@ /// using a shorthand syntax. /// @author sgrekhov22@gmail.com -// SharedOptions=--enable-experiment=enum-shorthands +// SharedOptions=--enable-experiment=dot-shorthands import '../../Utils/expect.dart'; diff --git a/LanguageFeatures/Static-access-shorthand/semantics_lib.dart b/LanguageFeatures/Static-access-shorthand/semantics_lib.dart index 66adb81589..edc60bb8e6 100644 --- a/LanguageFeatures/Static-access-shorthand/semantics_lib.dart +++ b/LanguageFeatures/Static-access-shorthand/semantics_lib.dart @@ -6,7 +6,7 @@ /// /// @author sgrekhov22@gmail.com -// SharedOptions=--enable-experiment=enum-shorthands +// SharedOptions=--enable-experiment=dot-shorthands import 'shorthand_lib.dart'; diff --git a/LanguageFeatures/Static-access-shorthand/shorthand_lib.dart b/LanguageFeatures/Static-access-shorthand/shorthand_lib.dart index 0d10f30f70..ea4cdee047 100644 --- a/LanguageFeatures/Static-access-shorthand/shorthand_lib.dart +++ b/LanguageFeatures/Static-access-shorthand/shorthand_lib.dart @@ -6,7 +6,7 @@ /// /// @author sgrekhov22@gmail.com -// SharedOptions=--enable-experiment=enum-shorthands +// SharedOptions=--enable-experiment=dot-shorthands class C { final T t; diff --git a/LanguageFeatures/Static-access-shorthand/type_inference_A01_t01.dart b/LanguageFeatures/Static-access-shorthand/type_inference_A01_t01.dart index 44cb8f1f56..21b4c4a8d9 100644 --- a/LanguageFeatures/Static-access-shorthand/type_inference_A01_t01.dart +++ b/LanguageFeatures/Static-access-shorthand/type_inference_A01_t01.dart @@ -22,7 +22,7 @@ /// declaration `D`. /// @author sgrekhov22@gmail.com -// SharedOptions=--enable-experiment=enum-shorthands +// SharedOptions=--enable-experiment=dot-shorthands import '../../Utils/expect.dart'; diff --git a/LanguageFeatures/Static-access-shorthand/type_inference_A01_t02.dart b/LanguageFeatures/Static-access-shorthand/type_inference_A01_t02.dart index 7e55fab4a5..31ead3aa21 100644 --- a/LanguageFeatures/Static-access-shorthand/type_inference_A01_t02.dart +++ b/LanguageFeatures/Static-access-shorthand/type_inference_A01_t02.dart @@ -23,7 +23,7 @@ /// `D`, then the shorthand context denotes the type declaration `D`. /// @author sgrekhov22@gmail.com -// SharedOptions=--enable-experiment=enum-shorthands +// SharedOptions=--enable-experiment=dot-shorthands import 'dart:async'; import '../../Utils/expect.dart'; diff --git a/LanguageFeatures/Static-access-shorthand/type_inference_A01_t03.dart b/LanguageFeatures/Static-access-shorthand/type_inference_A01_t03.dart index 2ebae07c4d..586dd48ecc 100644 --- a/LanguageFeatures/Static-access-shorthand/type_inference_A01_t03.dart +++ b/LanguageFeatures/Static-access-shorthand/type_inference_A01_t03.dart @@ -20,7 +20,7 @@ /// doesn't denote any declaration. /// @author sgrekhov22@gmail.com -// SharedOptions=--enable-experiment=enum-shorthands +// SharedOptions=--enable-experiment=dot-shorthands import 'shorthand_lib.dart'; diff --git a/LanguageFeatures/Static-access-shorthand/type_inference_A01_t04.dart b/LanguageFeatures/Static-access-shorthand/type_inference_A01_t04.dart index 2c3c01370b..373462bd1b 100644 --- a/LanguageFeatures/Static-access-shorthand/type_inference_A01_t04.dart +++ b/LanguageFeatures/Static-access-shorthand/type_inference_A01_t04.dart @@ -20,7 +20,7 @@ /// doesn't denote any declaration. Test type variables. /// @author sgrekhov22@gmail.com -// SharedOptions=--enable-experiment=enum-shorthands +// SharedOptions=--enable-experiment=dot-shorthands void topLevelFunction(T t) { T answer = .parse("42"); diff --git a/LanguageFeatures/Static-access-shorthand/type_inference_A01_t05.dart b/LanguageFeatures/Static-access-shorthand/type_inference_A01_t05.dart index f3439c0d6e..6a5ffe0ea9 100644 --- a/LanguageFeatures/Static-access-shorthand/type_inference_A01_t05.dart +++ b/LanguageFeatures/Static-access-shorthand/type_inference_A01_t05.dart @@ -20,7 +20,7 @@ /// doesn't denote any declaration. Test promoted type variables. /// @author sgrekhov22@gmail.com -// SharedOptions=--enable-experiment=enum-shorthands +// SharedOptions=--enable-experiment=dot-shorthands void topLevelFunction(T t) { if (t is int) { diff --git a/LanguageFeatures/Static-access-shorthand/type_inference_A01_t06.dart b/LanguageFeatures/Static-access-shorthand/type_inference_A01_t06.dart index f762c12fa5..fb192126b2 100644 --- a/LanguageFeatures/Static-access-shorthand/type_inference_A01_t06.dart +++ b/LanguageFeatures/Static-access-shorthand/type_inference_A01_t06.dart @@ -21,7 +21,7 @@ /// in this case. /// @author sgrekhov22@gmail.com -// SharedOptions=--enable-experiment=enum-shorthands +// SharedOptions=--enable-experiment=dot-shorthands class A { int v; diff --git a/LanguageFeatures/Static-access-shorthand/type_inference_A01_t07.dart b/LanguageFeatures/Static-access-shorthand/type_inference_A01_t07.dart index 2a045736ab..4ce26971e1 100644 --- a/LanguageFeatures/Static-access-shorthand/type_inference_A01_t07.dart +++ b/LanguageFeatures/Static-access-shorthand/type_inference_A01_t07.dart @@ -21,7 +21,7 @@ /// in this case. /// @author sgrekhov22@gmail.com -// SharedOptions=--enable-experiment=enum-shorthands +// SharedOptions=--enable-experiment=dot-shorthands main() { int v1 = (.parse("42")).abs(); diff --git a/LanguageFeatures/Static-access-shorthand/type_inference_A01_t08.dart b/LanguageFeatures/Static-access-shorthand/type_inference_A01_t08.dart index 734a0be1f3..0ada2c42d1 100644 --- a/LanguageFeatures/Static-access-shorthand/type_inference_A01_t08.dart +++ b/LanguageFeatures/Static-access-shorthand/type_inference_A01_t08.dart @@ -22,7 +22,7 @@ /// declaration `D`. Test a class. /// @author sgrekhov22@gmail.com -// SharedOptions=--enable-experiment=enum-shorthands +// SharedOptions=--enable-experiment=dot-shorthands import '../../Utils/expect.dart'; diff --git a/LanguageFeatures/Static-access-shorthand/type_inference_A01_t09.dart b/LanguageFeatures/Static-access-shorthand/type_inference_A01_t09.dart index 712a4b384b..76d18831b8 100644 --- a/LanguageFeatures/Static-access-shorthand/type_inference_A01_t09.dart +++ b/LanguageFeatures/Static-access-shorthand/type_inference_A01_t09.dart @@ -24,7 +24,7 @@ /// class. /// @author sgrekhov22@gmail.com -// SharedOptions=--enable-experiment=enum-shorthands +// SharedOptions=--enable-experiment=dot-shorthands import 'dart:async'; import '../../Utils/expect.dart'; diff --git a/LanguageFeatures/Static-access-shorthand/type_inference_A01_t10.dart b/LanguageFeatures/Static-access-shorthand/type_inference_A01_t10.dart index fabcfcf2c0..ea1d919ccf 100644 --- a/LanguageFeatures/Static-access-shorthand/type_inference_A01_t10.dart +++ b/LanguageFeatures/Static-access-shorthand/type_inference_A01_t10.dart @@ -22,7 +22,7 @@ /// declaration `D`. Test a mixin. /// @author sgrekhov22@gmail.com -// SharedOptions=--enable-experiment=enum-shorthands +// SharedOptions=--enable-experiment=dot-shorthands import '../../Utils/expect.dart'; diff --git a/LanguageFeatures/Static-access-shorthand/type_inference_A01_t11.dart b/LanguageFeatures/Static-access-shorthand/type_inference_A01_t11.dart index 3abb67a4ec..c7d47f50d2 100644 --- a/LanguageFeatures/Static-access-shorthand/type_inference_A01_t11.dart +++ b/LanguageFeatures/Static-access-shorthand/type_inference_A01_t11.dart @@ -24,7 +24,7 @@ /// mixin. /// @author sgrekhov22@gmail.com -// SharedOptions=--enable-experiment=enum-shorthands +// SharedOptions=--enable-experiment=dot-shorthands import 'dart:async'; import '../../Utils/expect.dart'; diff --git a/LanguageFeatures/Static-access-shorthand/type_inference_A01_t12.dart b/LanguageFeatures/Static-access-shorthand/type_inference_A01_t12.dart index 863f7c8152..5767241421 100644 --- a/LanguageFeatures/Static-access-shorthand/type_inference_A01_t12.dart +++ b/LanguageFeatures/Static-access-shorthand/type_inference_A01_t12.dart @@ -22,7 +22,7 @@ /// declaration `D`. Test an enum. /// @author sgrekhov22@gmail.com -// SharedOptions=--enable-experiment=enum-shorthands +// SharedOptions=--enable-experiment=dot-shorthands import '../../Utils/expect.dart'; diff --git a/LanguageFeatures/Static-access-shorthand/type_inference_A01_t13.dart b/LanguageFeatures/Static-access-shorthand/type_inference_A01_t13.dart index 39a309d8b6..ddd3e42290 100644 --- a/LanguageFeatures/Static-access-shorthand/type_inference_A01_t13.dart +++ b/LanguageFeatures/Static-access-shorthand/type_inference_A01_t13.dart @@ -24,7 +24,7 @@ /// enum. /// @author sgrekhov22@gmail.com -// SharedOptions=--enable-experiment=enum-shorthands +// SharedOptions=--enable-experiment=dot-shorthands import 'dart:async'; import '../../Utils/expect.dart'; diff --git a/LanguageFeatures/Static-access-shorthand/type_inference_A01_t14.dart b/LanguageFeatures/Static-access-shorthand/type_inference_A01_t14.dart index 774453878e..4e92663554 100644 --- a/LanguageFeatures/Static-access-shorthand/type_inference_A01_t14.dart +++ b/LanguageFeatures/Static-access-shorthand/type_inference_A01_t14.dart @@ -22,7 +22,7 @@ /// declaration `D`. Test an extension type. /// @author sgrekhov22@gmail.com -// SharedOptions=--enable-experiment=enum-shorthands +// SharedOptions=--enable-experiment=dot-shorthands import '../../Utils/expect.dart'; diff --git a/LanguageFeatures/Static-access-shorthand/type_inference_A01_t15.dart b/LanguageFeatures/Static-access-shorthand/type_inference_A01_t15.dart index 4094de2a95..cac8fd0175 100644 --- a/LanguageFeatures/Static-access-shorthand/type_inference_A01_t15.dart +++ b/LanguageFeatures/Static-access-shorthand/type_inference_A01_t15.dart @@ -24,7 +24,7 @@ /// extension type. /// @author sgrekhov22@gmail.com -// SharedOptions=--enable-experiment=enum-shorthands +// SharedOptions=--enable-experiment=dot-shorthands import 'dart:async'; import '../../Utils/expect.dart'; diff --git a/LanguageFeatures/Static-access-shorthand/type_inference_A02_t01.dart b/LanguageFeatures/Static-access-shorthand/type_inference_A02_t01.dart index 9831dbf839..2e842c0bd5 100644 --- a/LanguageFeatures/Static-access-shorthand/type_inference_A02_t01.dart +++ b/LanguageFeatures/Static-access-shorthand/type_inference_A02_t01.dart @@ -17,7 +17,7 @@ /// denotes the type declaration `D`. Test a class. /// @author sgrekhov22@gmail.com -// SharedOptions=--enable-experiment=enum-shorthands +// SharedOptions=--enable-experiment=dot-shorthands import '../../Utils/expect.dart'; diff --git a/LanguageFeatures/Static-access-shorthand/type_inference_A02_t02.dart b/LanguageFeatures/Static-access-shorthand/type_inference_A02_t02.dart index 6b39fdf223..4c4e559b26 100644 --- a/LanguageFeatures/Static-access-shorthand/type_inference_A02_t02.dart +++ b/LanguageFeatures/Static-access-shorthand/type_inference_A02_t02.dart @@ -17,7 +17,7 @@ /// denotes the type declaration `D`. Test an extension type. /// @author sgrekhov22@gmail.com -// SharedOptions=--enable-experiment=enum-shorthands +// SharedOptions=--enable-experiment=dot-shorthands import '../../Utils/expect.dart'; diff --git a/LanguageFeatures/Static-access-shorthand/type_inference_A02_t03.dart b/LanguageFeatures/Static-access-shorthand/type_inference_A02_t03.dart index 7549d1e438..21d994922c 100644 --- a/LanguageFeatures/Static-access-shorthand/type_inference_A02_t03.dart +++ b/LanguageFeatures/Static-access-shorthand/type_inference_A02_t03.dart @@ -15,7 +15,7 @@ /// context does not denote a declaration. /// @author sgrekhov22@gmail.com -// SharedOptions=--enable-experiment=enum-shorthands +// SharedOptions=--enable-experiment=dot-shorthands main() { var v1 = const .new(); diff --git a/LanguageFeatures/Static-access-shorthand/type_inference_A02_t04.dart b/LanguageFeatures/Static-access-shorthand/type_inference_A02_t04.dart index 373e2ba0db..e451ef7d88 100644 --- a/LanguageFeatures/Static-access-shorthand/type_inference_A02_t04.dart +++ b/LanguageFeatures/Static-access-shorthand/type_inference_A02_t04.dart @@ -15,7 +15,7 @@ /// denote a constant constructor. /// @author sgrekhov22@gmail.com -// SharedOptions=--enable-experiment=enum-shorthands +// SharedOptions=--enable-experiment=dot-shorthands class C { C(); diff --git a/LanguageFeatures/Static-access-shorthand/type_inference_A02_t05.dart b/LanguageFeatures/Static-access-shorthand/type_inference_A02_t05.dart index ae7a1278d3..f1cf13257b 100644 --- a/LanguageFeatures/Static-access-shorthand/type_inference_A02_t05.dart +++ b/LanguageFeatures/Static-access-shorthand/type_inference_A02_t05.dart @@ -15,7 +15,7 @@ /// context does not denote a declaration. /// @author sgrekhov22@gmail.com -// SharedOptions=--enable-experiment=enum-shorthands +// SharedOptions=--enable-experiment=dot-shorthands dynamic getDynamic() { if (DateTime.now().millisecond.isEven) { diff --git a/LanguageFeatures/Static-access-shorthand/type_inference_A03_t01.dart b/LanguageFeatures/Static-access-shorthand/type_inference_A03_t01.dart index ace7d9ad2d..8cbadd9635 100644 --- a/LanguageFeatures/Static-access-shorthand/type_inference_A03_t01.dart +++ b/LanguageFeatures/Static-access-shorthand/type_inference_A03_t01.dart @@ -11,7 +11,7 @@ /// does not denote a declaration and static namespace. /// @author sgrekhov22@gmail.com -// SharedOptions=--enable-experiment=enum-shorthands +// SharedOptions=--enable-experiment=dot-shorthands dynamic getDynamic() { if (DateTime.now().millisecond.isEven) { diff --git a/LanguageFeatures/Static-access-shorthand/type_inference_A04_t01.dart b/LanguageFeatures/Static-access-shorthand/type_inference_A04_t01.dart index b96826cc9b..d47a16f6e2 100644 --- a/LanguageFeatures/Static-access-shorthand/type_inference_A04_t01.dart +++ b/LanguageFeatures/Static-access-shorthand/type_inference_A04_t01.dart @@ -11,7 +11,7 @@ /// with base name `id` does not find a static member. /// @author sgrekhov22@gmail.com -// SharedOptions=--enable-experiment=enum-shorthands +// SharedOptions=--enable-experiment=dot-shorthands class C { C.foo(); diff --git a/LanguageFeatures/Static-access-shorthand/type_inference_A05_t01.dart b/LanguageFeatures/Static-access-shorthand/type_inference_A05_t01.dart index 78fc91bb25..34c6c57a6e 100644 --- a/LanguageFeatures/Static-access-shorthand/type_inference_A05_t01.dart +++ b/LanguageFeatures/Static-access-shorthand/type_inference_A05_t01.dart @@ -12,7 +12,7 @@ /// `.new`. /// @author sgrekhov22@gmail.com -// SharedOptions=--enable-experiment=enum-shorthands +// SharedOptions=--enable-experiment=dot-shorthands class C { C(); diff --git a/LanguageFeatures/Static-access-shorthand/type_inference_A05_t02.dart b/LanguageFeatures/Static-access-shorthand/type_inference_A05_t02.dart index 46d37bf94a..30dd5f3a2c 100644 --- a/LanguageFeatures/Static-access-shorthand/type_inference_A05_t02.dart +++ b/LanguageFeatures/Static-access-shorthand/type_inference_A05_t02.dart @@ -11,7 +11,7 @@ /// not have an unnamed constructor for `.new()` invokation. /// @author sgrekhov22@gmail.com -// SharedOptions=--enable-experiment=enum-shorthands +// SharedOptions=--enable-experiment=dot-shorthands class C { C.foo(); diff --git a/LanguageFeatures/Static-access-shorthand/type_inference_A06_t01.dart b/LanguageFeatures/Static-access-shorthand/type_inference_A06_t01.dart index b4b8891275..fbffff976c 100644 --- a/LanguageFeatures/Static-access-shorthand/type_inference_A06_t01.dart +++ b/LanguageFeatures/Static-access-shorthand/type_inference_A06_t01.dart @@ -12,7 +12,7 @@ /// expression of the form `.new(args)`. /// @author sgrekhov22@gmail.com -// SharedOptions=--enable-experiment=enum-shorthands +// SharedOptions=--enable-experiment=dot-shorthands class C { C(); diff --git a/LanguageFeatures/Static-access-shorthand/type_inference_A06_t02.dart b/LanguageFeatures/Static-access-shorthand/type_inference_A06_t02.dart index 239923a853..d787014339 100644 --- a/LanguageFeatures/Static-access-shorthand/type_inference_A06_t02.dart +++ b/LanguageFeatures/Static-access-shorthand/type_inference_A06_t02.dart @@ -12,7 +12,7 @@ /// expression of the form `.new`. /// @author sgrekhov22@gmail.com -// SharedOptions=--enable-experiment=enum-shorthands +// SharedOptions=--enable-experiment=dot-shorthands class C { C(); diff --git a/LanguageFeatures/Static-access-shorthand/type_inference_A07_t01.dart b/LanguageFeatures/Static-access-shorthand/type_inference_A07_t01.dart index 784547dc15..ffee9dd166 100644 --- a/LanguageFeatures/Static-access-shorthand/type_inference_A07_t01.dart +++ b/LanguageFeatures/Static-access-shorthand/type_inference_A07_t01.dart @@ -23,7 +23,7 @@ /// and then a type inference infers the type arguments. /// @author sgrekhov22@gmail.com -// SharedOptions=--enable-experiment=enum-shorthands +// SharedOptions=--enable-experiment=dot-shorthands import '../../Utils/expect.dart'; diff --git a/LanguageFeatures/Static-access-shorthand/type_inference_A07_t02.dart b/LanguageFeatures/Static-access-shorthand/type_inference_A07_t02.dart index 0a2b19a3e5..33195bf3ef 100644 --- a/LanguageFeatures/Static-access-shorthand/type_inference_A07_t02.dart +++ b/LanguageFeatures/Static-access-shorthand/type_inference_A07_t02.dart @@ -23,7 +23,7 @@ /// and then a type inference infers the type arguments. /// @author sgrekhov22@gmail.com -// SharedOptions=--enable-experiment=enum-shorthands +// SharedOptions=--enable-experiment=dot-shorthands import '../../Utils/expect.dart'; diff --git a/LanguageFeatures/Static-access-shorthand/type_inference_A08_t01.dart b/LanguageFeatures/Static-access-shorthand/type_inference_A08_t01.dart index f8b4477633..d720fd970e 100644 --- a/LanguageFeatures/Static-access-shorthand/type_inference_A08_t01.dart +++ b/LanguageFeatures/Static-access-shorthand/type_inference_A08_t01.dart @@ -12,7 +12,7 @@ /// shorthand expression. /// @author sgrekhov22@gmail.com -// SharedOptions=--enable-experiment=enum-shorthands +// SharedOptions=--enable-experiment=dot-shorthands import '../../Utils/expect.dart'; diff --git a/LanguageFeatures/Static-access-shorthand/type_inference_A08_t02.dart b/LanguageFeatures/Static-access-shorthand/type_inference_A08_t02.dart index 941e4a78a6..4b4708ac0d 100644 --- a/LanguageFeatures/Static-access-shorthand/type_inference_A08_t02.dart +++ b/LanguageFeatures/Static-access-shorthand/type_inference_A08_t02.dart @@ -12,7 +12,7 @@ /// shorthand expression. /// @author sgrekhov22@gmail.com -// SharedOptions=--enable-experiment=enum-shorthands +// SharedOptions=--enable-experiment=dot-shorthands import '../../Utils/expect.dart';