From 097f2b56e273f88e490c9a0551a82f6b4103c428 Mon Sep 17 00:00:00 2001 From: sgrekhov Date: Wed, 4 Jan 2023 11:43:44 +0400 Subject: [PATCH] Fixes #1636. Missed `records` experimental flag added to some patterns tests --- LanguageFeatures/Patterns/constant_A02_t07.dart | 2 +- LanguageFeatures/Patterns/constant_A02_t08.dart | 2 +- LanguageFeatures/Patterns/constant_A02_t09.dart | 2 +- LanguageFeatures/Patterns/constant_A02_t10.dart | 2 +- LanguageFeatures/Patterns/constant_A02_t11.dart | 2 +- LanguageFeatures/Patterns/constant_A02_t12.dart | 2 +- LanguageFeatures/Patterns/constant_A02_t17.dart | 2 +- LanguageFeatures/Patterns/constant_A02_t18.dart | 2 +- LanguageFeatures/Patterns/constant_A02_t20.dart | 2 +- LanguageFeatures/Patterns/constant_A02_t22.dart | 2 +- LanguageFeatures/Patterns/list_A05_t06.dart | 2 +- LanguageFeatures/Patterns/list_A05_t11.dart | 2 +- LanguageFeatures/Patterns/logical_and_A02_t01.dart | 1 - LanguageFeatures/Patterns/logical_and_A03_t01.dart | 1 - LanguageFeatures/Patterns/logical_and_A05_t01.dart | 2 +- LanguageFeatures/Patterns/logical_and_A06_t01.dart | 2 +- LanguageFeatures/Patterns/logical_or_A02_t01.dart | 2 +- LanguageFeatures/Patterns/logical_or_A03_t01.dart | 2 +- LanguageFeatures/Patterns/logical_or_A04_t01.dart | 2 +- LanguageFeatures/Patterns/logical_or_A04_t02.dart | 2 +- LanguageFeatures/Patterns/logical_or_A04_t03.dart | 2 +- LanguageFeatures/Patterns/logical_or_A05_t01.dart | 2 +- LanguageFeatures/Patterns/logical_or_A05_t02.dart | 2 +- LanguageFeatures/Patterns/logical_or_A05_t03.dart | 2 +- LanguageFeatures/Patterns/logical_or_A05_t04.dart | 2 +- LanguageFeatures/Patterns/logical_or_A05_t05.dart | 2 +- LanguageFeatures/Patterns/logical_or_A05_t06.dart | 2 +- LanguageFeatures/Patterns/object_A01_t04.dart | 2 +- LanguageFeatures/Patterns/object_A01_t05.dart | 2 +- LanguageFeatures/Patterns/object_A01_t06.dart | 2 +- LanguageFeatures/Patterns/object_A01_t07.dart | 2 +- LanguageFeatures/Patterns/object_A01_t08.dart | 2 +- LanguageFeatures/Patterns/object_A01_t09.dart | 2 +- LanguageFeatures/Patterns/object_A01_t10.dart | 2 +- LanguageFeatures/Patterns/object_A01_t12.dart | 2 +- LanguageFeatures/Patterns/object_A02_t08.dart | 2 +- LanguageFeatures/Patterns/object_A02_t09.dart | 2 +- LanguageFeatures/Patterns/object_A02_t10.dart | 2 +- LanguageFeatures/Patterns/object_A02_t11.dart | 2 +- LanguageFeatures/Patterns/object_A04_t01.dart | 2 +- LanguageFeatures/Patterns/object_A07_t02.dart | 2 +- LanguageFeatures/Patterns/object_A07_t04.dart | 2 +- LanguageFeatures/Patterns/variable_A02_t06.dart | 2 +- LanguageFeatures/Patterns/variable_A03_t05.dart | 2 +- LanguageFeatures/Patterns/wildcards_A01_t04.dart | 2 +- 45 files changed, 43 insertions(+), 45 deletions(-) diff --git a/LanguageFeatures/Patterns/constant_A02_t07.dart b/LanguageFeatures/Patterns/constant_A02_t07.dart index 71c9479c3b..21fb64ff63 100644 --- a/LanguageFeatures/Patterns/constant_A02_t07.dart +++ b/LanguageFeatures/Patterns/constant_A02_t07.dart @@ -33,7 +33,7 @@ /// patterns. Test switch statement /// @author sgrekhov22@gmail.com -// SharedOptions=--enable-experiment=patterns +// SharedOptions=--enable-experiment=patterns,records import "patterns_lib.dart" as p; import "../../Utils/expect.dart"; diff --git a/LanguageFeatures/Patterns/constant_A02_t08.dart b/LanguageFeatures/Patterns/constant_A02_t08.dart index 45a022a38d..489ec47492 100644 --- a/LanguageFeatures/Patterns/constant_A02_t08.dart +++ b/LanguageFeatures/Patterns/constant_A02_t08.dart @@ -33,7 +33,7 @@ /// patterns. Test if-case statement /// @author sgrekhov22@gmail.com -// SharedOptions=--enable-experiment=patterns +// SharedOptions=--enable-experiment=patterns,records import "patterns_lib.dart" as p; import "../../Utils/expect.dart"; diff --git a/LanguageFeatures/Patterns/constant_A02_t09.dart b/LanguageFeatures/Patterns/constant_A02_t09.dart index ca63b0ec9e..9d13bbb1b9 100644 --- a/LanguageFeatures/Patterns/constant_A02_t09.dart +++ b/LanguageFeatures/Patterns/constant_A02_t09.dart @@ -33,7 +33,7 @@ /// patterns. Test switch expression /// @author sgrekhov22@gmail.com -// SharedOptions=--enable-experiment=patterns +// SharedOptions=--enable-experiment=patterns,records import "patterns_lib.dart" as p; import "../../Utils/expect.dart"; diff --git a/LanguageFeatures/Patterns/constant_A02_t10.dart b/LanguageFeatures/Patterns/constant_A02_t10.dart index 769ff16143..75872aa8ca 100644 --- a/LanguageFeatures/Patterns/constant_A02_t10.dart +++ b/LanguageFeatures/Patterns/constant_A02_t10.dart @@ -33,7 +33,7 @@ /// constant patterns. Test switch statement /// @author sgrekhov22@gmail.com -// SharedOptions=--enable-experiment=patterns +// SharedOptions=--enable-experiment=patterns,records import "patterns_lib.dart" as p; import "../../Utils/expect.dart"; diff --git a/LanguageFeatures/Patterns/constant_A02_t11.dart b/LanguageFeatures/Patterns/constant_A02_t11.dart index 78c8f3909e..44297864c8 100644 --- a/LanguageFeatures/Patterns/constant_A02_t11.dart +++ b/LanguageFeatures/Patterns/constant_A02_t11.dart @@ -33,7 +33,7 @@ /// constant patterns. Test if-case statement /// @author sgrekhov22@gmail.com -// SharedOptions=--enable-experiment=patterns +// SharedOptions=--enable-experiment=patterns,records import "patterns_lib.dart" as p; import "../../Utils/expect.dart"; diff --git a/LanguageFeatures/Patterns/constant_A02_t12.dart b/LanguageFeatures/Patterns/constant_A02_t12.dart index b813d4994b..00d14c86c8 100644 --- a/LanguageFeatures/Patterns/constant_A02_t12.dart +++ b/LanguageFeatures/Patterns/constant_A02_t12.dart @@ -33,7 +33,7 @@ /// constant patterns. Test switch expressions /// @author sgrekhov22@gmail.com -// SharedOptions=--enable-experiment=patterns +// SharedOptions=--enable-experiment=patterns,records import "patterns_lib.dart" as p; import "../../Utils/expect.dart"; diff --git a/LanguageFeatures/Patterns/constant_A02_t17.dart b/LanguageFeatures/Patterns/constant_A02_t17.dart index 12b3434dc5..69a5c317be 100644 --- a/LanguageFeatures/Patterns/constant_A02_t17.dart +++ b/LanguageFeatures/Patterns/constant_A02_t17.dart @@ -33,7 +33,7 @@ /// if-case statement /// @author sgrekhov22@gmail.com -// SharedOptions=--enable-experiment=patterns +// SharedOptions=--enable-experiment=patterns,records import "patterns_lib.dart" as p; import "../../Utils/expect.dart"; diff --git a/LanguageFeatures/Patterns/constant_A02_t18.dart b/LanguageFeatures/Patterns/constant_A02_t18.dart index fde4846987..b933a6474e 100644 --- a/LanguageFeatures/Patterns/constant_A02_t18.dart +++ b/LanguageFeatures/Patterns/constant_A02_t18.dart @@ -33,7 +33,7 @@ /// switch expressions /// @author sgrekhov22@gmail.com -// SharedOptions=--enable-experiment=patterns +// SharedOptions=--enable-experiment=patterns,records import "patterns_lib.dart" as p; import "../../Utils/expect.dart"; diff --git a/LanguageFeatures/Patterns/constant_A02_t20.dart b/LanguageFeatures/Patterns/constant_A02_t20.dart index 03a8fe8bad..e344816257 100644 --- a/LanguageFeatures/Patterns/constant_A02_t20.dart +++ b/LanguageFeatures/Patterns/constant_A02_t20.dart @@ -33,7 +33,7 @@ /// constant is prefixed by '-'. Test named constants with a library prefix /// @author sgrekhov22@gmail.com -// SharedOptions=--enable-experiment=patterns +// SharedOptions=--enable-experiment=patterns,records import "patterns_lib.dart" as p; diff --git a/LanguageFeatures/Patterns/constant_A02_t22.dart b/LanguageFeatures/Patterns/constant_A02_t22.dart index 63326e0fb9..b8a8f00a3d 100644 --- a/LanguageFeatures/Patterns/constant_A02_t22.dart +++ b/LanguageFeatures/Patterns/constant_A02_t22.dart @@ -33,7 +33,7 @@ /// constant is prefixed by '-'. Test static constants in a perfixed library /// @author sgrekhov22@gmail.com -// SharedOptions=--enable-experiment=patterns +// SharedOptions=--enable-experiment=patterns,records import "patterns_lib.dart" as p; diff --git a/LanguageFeatures/Patterns/list_A05_t06.dart b/LanguageFeatures/Patterns/list_A05_t06.dart index 15aa89e035..6365a7f3b9 100644 --- a/LanguageFeatures/Patterns/list_A05_t06.dart +++ b/LanguageFeatures/Patterns/list_A05_t06.dart @@ -20,7 +20,7 @@ /// pattern /// @author sgrekhov22@gmail.com -// SharedOptions=--enable-experiment=patterns +// SharedOptions=--enable-experiment=patterns,records import "patterns_lib.dart" as p; import "../../Utils/expect.dart"; diff --git a/LanguageFeatures/Patterns/list_A05_t11.dart b/LanguageFeatures/Patterns/list_A05_t11.dart index 98059ded41..60cc1f37fc 100644 --- a/LanguageFeatures/Patterns/list_A05_t11.dart +++ b/LanguageFeatures/Patterns/list_A05_t11.dart @@ -20,7 +20,7 @@ /// pattern /// @author sgrekhov22@gmail.com -// SharedOptions=--enable-experiment=patterns +// SharedOptions=--enable-experiment=patterns,records import "patterns_lib.dart"; import "../../Utils/expect.dart"; diff --git a/LanguageFeatures/Patterns/logical_and_A02_t01.dart b/LanguageFeatures/Patterns/logical_and_A02_t01.dart index bd9be58f82..d6519b59cd 100644 --- a/LanguageFeatures/Patterns/logical_and_A02_t01.dart +++ b/LanguageFeatures/Patterns/logical_and_A02_t01.dart @@ -19,7 +19,6 @@ // SharedOptions=--enable-experiment=patterns -import "patterns_lib.dart"; import "../../Utils/expect.dart"; void test(int value, bool match) { diff --git a/LanguageFeatures/Patterns/logical_and_A03_t01.dart b/LanguageFeatures/Patterns/logical_and_A03_t01.dart index 529c886f7a..b8c0b3d081 100644 --- a/LanguageFeatures/Patterns/logical_and_A03_t01.dart +++ b/LanguageFeatures/Patterns/logical_and_A03_t01.dart @@ -19,7 +19,6 @@ // SharedOptions=--enable-experiment=patterns -import "patterns_lib.dart"; import "../../Utils/expect.dart"; bool test(int value) { diff --git a/LanguageFeatures/Patterns/logical_and_A05_t01.dart b/LanguageFeatures/Patterns/logical_and_A05_t01.dart index f11a4162c7..f464295647 100644 --- a/LanguageFeatures/Patterns/logical_and_A05_t01.dart +++ b/LanguageFeatures/Patterns/logical_and_A05_t01.dart @@ -18,7 +18,7 @@ /// logical-and pattern define overlapping sets of variables /// @author sgrekhov22@gmail.com -// SharedOptions=--enable-experiment=patterns +// SharedOptions=--enable-experiment=patterns,records import "patterns_lib.dart"; diff --git a/LanguageFeatures/Patterns/logical_and_A06_t01.dart b/LanguageFeatures/Patterns/logical_and_A06_t01.dart index b47dc1b660..95aa4307a9 100644 --- a/LanguageFeatures/Patterns/logical_and_A06_t01.dart +++ b/LanguageFeatures/Patterns/logical_and_A06_t01.dart @@ -18,7 +18,7 @@ /// is not evaluated /// @author sgrekhov22@gmail.com -// SharedOptions=--enable-experiment=patterns +// SharedOptions=--enable-experiment=patterns,records import "patterns_lib.dart"; import "../../Utils/expect.dart"; diff --git a/LanguageFeatures/Patterns/logical_or_A02_t01.dart b/LanguageFeatures/Patterns/logical_or_A02_t01.dart index 758916c02d..821ef98879 100644 --- a/LanguageFeatures/Patterns/logical_or_A02_t01.dart +++ b/LanguageFeatures/Patterns/logical_or_A02_t01.dart @@ -20,7 +20,7 @@ /// @description Checks logical-or pattern in a switch statement /// @author sgrekhov22@gmail.com -// SharedOptions=--enable-experiment=patterns +// SharedOptions=--enable-experiment=patterns,records import "patterns_lib.dart"; import "../../Utils/expect.dart"; diff --git a/LanguageFeatures/Patterns/logical_or_A03_t01.dart b/LanguageFeatures/Patterns/logical_or_A03_t01.dart index fdecebc9da..666045c6f0 100644 --- a/LanguageFeatures/Patterns/logical_or_A03_t01.dart +++ b/LanguageFeatures/Patterns/logical_or_A03_t01.dart @@ -20,7 +20,7 @@ /// @description Checks logical-or pattern in an if-case statement /// @author sgrekhov22@gmail.com -// SharedOptions=--enable-experiment=patterns +// SharedOptions=--enable-experiment=patterns,records import "patterns_lib.dart"; import "../../Utils/expect.dart"; diff --git a/LanguageFeatures/Patterns/logical_or_A04_t01.dart b/LanguageFeatures/Patterns/logical_or_A04_t01.dart index c9750e1149..07af817062 100644 --- a/LanguageFeatures/Patterns/logical_or_A04_t01.dart +++ b/LanguageFeatures/Patterns/logical_or_A04_t01.dart @@ -21,7 +21,7 @@ /// logical-or pattern define different sets of variables. Test switch statement /// @author sgrekhov22@gmail.com -// SharedOptions=--enable-experiment=patterns +// SharedOptions=--enable-experiment=patterns,records import "patterns_lib.dart"; diff --git a/LanguageFeatures/Patterns/logical_or_A04_t02.dart b/LanguageFeatures/Patterns/logical_or_A04_t02.dart index 5a1cfb6ffd..ae3e26530e 100644 --- a/LanguageFeatures/Patterns/logical_or_A04_t02.dart +++ b/LanguageFeatures/Patterns/logical_or_A04_t02.dart @@ -22,7 +22,7 @@ /// expression /// @author sgrekhov22@gmail.com -// SharedOptions=--enable-experiment=patterns +// SharedOptions=--enable-experiment=patterns,records import "patterns_lib.dart"; diff --git a/LanguageFeatures/Patterns/logical_or_A04_t03.dart b/LanguageFeatures/Patterns/logical_or_A04_t03.dart index be2794709a..75537243d0 100644 --- a/LanguageFeatures/Patterns/logical_or_A04_t03.dart +++ b/LanguageFeatures/Patterns/logical_or_A04_t03.dart @@ -22,7 +22,7 @@ /// statement /// @author sgrekhov22@gmail.com -// SharedOptions=--enable-experiment=patterns +// SharedOptions=--enable-experiment=patterns,records import "patterns_lib.dart"; diff --git a/LanguageFeatures/Patterns/logical_or_A05_t01.dart b/LanguageFeatures/Patterns/logical_or_A05_t01.dart index b959ca8d3c..4f419bea7f 100644 --- a/LanguageFeatures/Patterns/logical_or_A05_t01.dart +++ b/LanguageFeatures/Patterns/logical_or_A05_t01.dart @@ -21,7 +21,7 @@ /// evaluated. Test switch statement /// @author sgrekhov22@gmail.com -// SharedOptions=--enable-experiment=patterns +// SharedOptions=--enable-experiment=patterns,records import "patterns_lib.dart"; import "../../Utils/expect.dart"; diff --git a/LanguageFeatures/Patterns/logical_or_A05_t02.dart b/LanguageFeatures/Patterns/logical_or_A05_t02.dart index 52070bfa03..230b73955d 100644 --- a/LanguageFeatures/Patterns/logical_or_A05_t02.dart +++ b/LanguageFeatures/Patterns/logical_or_A05_t02.dart @@ -21,7 +21,7 @@ /// branch is evaluated. Test switch statement /// @author sgrekhov22@gmail.com -// SharedOptions=--enable-experiment=patterns +// SharedOptions=--enable-experiment=patterns,records import "patterns_lib.dart"; import "../../Utils/expect.dart"; diff --git a/LanguageFeatures/Patterns/logical_or_A05_t03.dart b/LanguageFeatures/Patterns/logical_or_A05_t03.dart index 55a5ce65b3..8b23522ef5 100644 --- a/LanguageFeatures/Patterns/logical_or_A05_t03.dart +++ b/LanguageFeatures/Patterns/logical_or_A05_t03.dart @@ -21,7 +21,7 @@ /// evaluated. Test if-case statement /// @author sgrekhov22@gmail.com -// SharedOptions=--enable-experiment=patterns +// SharedOptions=--enable-experiment=patterns,records import "patterns_lib.dart"; import "../../Utils/expect.dart"; diff --git a/LanguageFeatures/Patterns/logical_or_A05_t04.dart b/LanguageFeatures/Patterns/logical_or_A05_t04.dart index 14cc343bca..6f96c627c5 100644 --- a/LanguageFeatures/Patterns/logical_or_A05_t04.dart +++ b/LanguageFeatures/Patterns/logical_or_A05_t04.dart @@ -21,7 +21,7 @@ /// branch is evaluated. Test if-case statement /// @author sgrekhov22@gmail.com -// SharedOptions=--enable-experiment=patterns +// SharedOptions=--enable-experiment=patterns,records import "patterns_lib.dart"; import "../../Utils/expect.dart"; diff --git a/LanguageFeatures/Patterns/logical_or_A05_t05.dart b/LanguageFeatures/Patterns/logical_or_A05_t05.dart index 094b55268b..a5977b2a3e 100644 --- a/LanguageFeatures/Patterns/logical_or_A05_t05.dart +++ b/LanguageFeatures/Patterns/logical_or_A05_t05.dart @@ -21,7 +21,7 @@ /// evaluated. Test switch expression /// @author sgrekhov22@gmail.com -// SharedOptions=--enable-experiment=patterns +// SharedOptions=--enable-experiment=patterns,records import "patterns_lib.dart"; import "../../Utils/expect.dart"; diff --git a/LanguageFeatures/Patterns/logical_or_A05_t06.dart b/LanguageFeatures/Patterns/logical_or_A05_t06.dart index 96a7828cf8..22c4b00dc0 100644 --- a/LanguageFeatures/Patterns/logical_or_A05_t06.dart +++ b/LanguageFeatures/Patterns/logical_or_A05_t06.dart @@ -21,7 +21,7 @@ /// branch is evaluated. Test switch expression /// @author sgrekhov22@gmail.com -// SharedOptions=--enable-experiment=patterns +// SharedOptions=--enable-experiment=patterns,records import "patterns_lib.dart"; import "../../Utils/expect.dart"; diff --git a/LanguageFeatures/Patterns/object_A01_t04.dart b/LanguageFeatures/Patterns/object_A01_t04.dart index c5dd2cd7f7..a10c7b3ef3 100644 --- a/LanguageFeatures/Patterns/object_A01_t04.dart +++ b/LanguageFeatures/Patterns/object_A01_t04.dart @@ -13,7 +13,7 @@ /// declaration context /// @author sgrekhov22@gmail.com -// SharedOptions=--enable-experiment=patterns +// SharedOptions=--enable-experiment=patterns,records import "../../Utils/expect.dart"; import "patterns_lib.dart"; diff --git a/LanguageFeatures/Patterns/object_A01_t05.dart b/LanguageFeatures/Patterns/object_A01_t05.dart index b604287917..77ff9e5048 100644 --- a/LanguageFeatures/Patterns/object_A01_t05.dart +++ b/LanguageFeatures/Patterns/object_A01_t05.dart @@ -13,7 +13,7 @@ /// declaration context /// @author sgrekhov22@gmail.com -// SharedOptions=--enable-experiment=patterns +// SharedOptions=--enable-experiment=patterns,records import "../../Utils/expect.dart"; import "patterns_lib.dart"; diff --git a/LanguageFeatures/Patterns/object_A01_t06.dart b/LanguageFeatures/Patterns/object_A01_t06.dart index 26f5054066..721042ec84 100644 --- a/LanguageFeatures/Patterns/object_A01_t06.dart +++ b/LanguageFeatures/Patterns/object_A01_t06.dart @@ -13,7 +13,7 @@ /// declaration context /// @author sgrekhov22@gmail.com -// SharedOptions=--enable-experiment=patterns +// SharedOptions=--enable-experiment=patterns,records import "../../Utils/expect.dart"; import "patterns_lib.dart"; diff --git a/LanguageFeatures/Patterns/object_A01_t07.dart b/LanguageFeatures/Patterns/object_A01_t07.dart index bd75f9c035..d99ca32242 100644 --- a/LanguageFeatures/Patterns/object_A01_t07.dart +++ b/LanguageFeatures/Patterns/object_A01_t07.dart @@ -13,7 +13,7 @@ /// declaration context /// @author sgrekhov22@gmail.com -// SharedOptions=--enable-experiment=patterns +// SharedOptions=--enable-experiment=patterns,records import "../../Utils/expect.dart"; import "patterns_lib.dart"; diff --git a/LanguageFeatures/Patterns/object_A01_t08.dart b/LanguageFeatures/Patterns/object_A01_t08.dart index 57e9ef6100..92e0010bda 100644 --- a/LanguageFeatures/Patterns/object_A01_t08.dart +++ b/LanguageFeatures/Patterns/object_A01_t08.dart @@ -13,7 +13,7 @@ /// declaration context /// @author sgrekhov22@gmail.com -// SharedOptions=--enable-experiment=patterns +// SharedOptions=--enable-experiment=patterns,records import "../../Utils/expect.dart"; import "patterns_lib.dart"; diff --git a/LanguageFeatures/Patterns/object_A01_t09.dart b/LanguageFeatures/Patterns/object_A01_t09.dart index 7349e69273..47edd33f22 100644 --- a/LanguageFeatures/Patterns/object_A01_t09.dart +++ b/LanguageFeatures/Patterns/object_A01_t09.dart @@ -13,7 +13,7 @@ /// declaration context /// @author sgrekhov22@gmail.com -// SharedOptions=--enable-experiment=patterns +// SharedOptions=--enable-experiment=patterns,records import "../../Utils/expect.dart"; import "patterns_lib.dart"; diff --git a/LanguageFeatures/Patterns/object_A01_t10.dart b/LanguageFeatures/Patterns/object_A01_t10.dart index c9e8099f18..3ead57dd16 100644 --- a/LanguageFeatures/Patterns/object_A01_t10.dart +++ b/LanguageFeatures/Patterns/object_A01_t10.dart @@ -13,7 +13,7 @@ /// declaration context /// @author sgrekhov22@gmail.com -// SharedOptions=--enable-experiment=patterns +// SharedOptions=--enable-experiment=patterns,records import "../../Utils/expect.dart"; import "patterns_lib.dart"; diff --git a/LanguageFeatures/Patterns/object_A01_t12.dart b/LanguageFeatures/Patterns/object_A01_t12.dart index f5a368e566..023c799a0d 100644 --- a/LanguageFeatures/Patterns/object_A01_t12.dart +++ b/LanguageFeatures/Patterns/object_A01_t12.dart @@ -13,7 +13,7 @@ /// declaration context /// @author sgrekhov22@gmail.com -// SharedOptions=--enable-experiment=patterns +// SharedOptions=--enable-experiment=patterns,records import "../../Utils/expect.dart"; import "patterns_lib.dart"; diff --git a/LanguageFeatures/Patterns/object_A02_t08.dart b/LanguageFeatures/Patterns/object_A02_t08.dart index 9d0f84384a..7e3f1625a3 100644 --- a/LanguageFeatures/Patterns/object_A02_t08.dart +++ b/LanguageFeatures/Patterns/object_A02_t08.dart @@ -12,7 +12,7 @@ /// variable subpattern in a declaration context /// @author sgrekhov22@gmail.com -// SharedOptions=--enable-experiment=patterns +// SharedOptions=--enable-experiment=patterns,records import "../../Utils/expect.dart"; import "patterns_lib.dart"; diff --git a/LanguageFeatures/Patterns/object_A02_t09.dart b/LanguageFeatures/Patterns/object_A02_t09.dart index 9b35eb1579..29941defca 100644 --- a/LanguageFeatures/Patterns/object_A02_t09.dart +++ b/LanguageFeatures/Patterns/object_A02_t09.dart @@ -13,7 +13,7 @@ /// error /// @author sgrekhov22@gmail.com -// SharedOptions=--enable-experiment=patterns +// SharedOptions=--enable-experiment=patterns,records import "patterns_lib.dart"; diff --git a/LanguageFeatures/Patterns/object_A02_t10.dart b/LanguageFeatures/Patterns/object_A02_t10.dart index 7fec0b712f..fcaf1a017a 100644 --- a/LanguageFeatures/Patterns/object_A02_t10.dart +++ b/LanguageFeatures/Patterns/object_A02_t10.dart @@ -12,7 +12,7 @@ /// subpattern in a declaration context /// @author sgrekhov22@gmail.com -// SharedOptions=--enable-experiment=patterns +// SharedOptions=--enable-experiment=patterns,records import "../../Utils/expect.dart"; import "patterns_lib.dart"; diff --git a/LanguageFeatures/Patterns/object_A02_t11.dart b/LanguageFeatures/Patterns/object_A02_t11.dart index d5b4c44244..11ed0a2517 100644 --- a/LanguageFeatures/Patterns/object_A02_t11.dart +++ b/LanguageFeatures/Patterns/object_A02_t11.dart @@ -12,7 +12,7 @@ /// null-assert subpattern in a declaration context /// @author sgrekhov22@gmail.com -// SharedOptions=--enable-experiment=patterns +// SharedOptions=--enable-experiment=patterns,records import "../../Utils/expect.dart"; import "patterns_lib.dart"; diff --git a/LanguageFeatures/Patterns/object_A04_t01.dart b/LanguageFeatures/Patterns/object_A04_t01.dart index d1a757f9c7..500b457d1a 100644 --- a/LanguageFeatures/Patterns/object_A04_t01.dart +++ b/LanguageFeatures/Patterns/object_A04_t01.dart @@ -23,7 +23,7 @@ /// is present and does not match the arity of the type of typeName. /// @author sgrekhov22@gmail.com -// SharedOptions=--enable-experiment=patterns +// SharedOptions=--enable-experiment=patterns,records import "patterns_lib.dart"; diff --git a/LanguageFeatures/Patterns/object_A07_t02.dart b/LanguageFeatures/Patterns/object_A07_t02.dart index f2cd55d684..1148af16e5 100644 --- a/LanguageFeatures/Patterns/object_A07_t02.dart +++ b/LanguageFeatures/Patterns/object_A07_t02.dart @@ -24,7 +24,7 @@ /// switch statement /// @author sgrekhov22@gmail.com -// SharedOptions=--enable-experiment=patterns +// SharedOptions=--enable-experiment=patterns,records import "patterns_lib.dart"; diff --git a/LanguageFeatures/Patterns/object_A07_t04.dart b/LanguageFeatures/Patterns/object_A07_t04.dart index 376015fc3c..cd33de6a1b 100644 --- a/LanguageFeatures/Patterns/object_A07_t04.dart +++ b/LanguageFeatures/Patterns/object_A07_t04.dart @@ -24,7 +24,7 @@ /// declaration context /// @author sgrekhov22@gmail.com -// SharedOptions=--enable-experiment=patterns +// SharedOptions=--enable-experiment=patterns,records import "patterns_lib.dart"; diff --git a/LanguageFeatures/Patterns/variable_A02_t06.dart b/LanguageFeatures/Patterns/variable_A02_t06.dart index 3e659d4b17..e84ae76a4b 100644 --- a/LanguageFeatures/Patterns/variable_A02_t06.dart +++ b/LanguageFeatures/Patterns/variable_A02_t06.dart @@ -27,7 +27,7 @@ /// the pattern matches values of the appropriate type only. Test Object pattern /// @author sgrekhov22@gmail.com -// SharedOptions=--enable-experiment=patterns +// SharedOptions=--enable-experiment=patterns,records import "../../Utils/static_type_helper.dart"; import "../../Utils/expect.dart"; diff --git a/LanguageFeatures/Patterns/variable_A03_t05.dart b/LanguageFeatures/Patterns/variable_A03_t05.dart index 43fd925fb7..0d0687cf9a 100644 --- a/LanguageFeatures/Patterns/variable_A03_t05.dart +++ b/LanguageFeatures/Patterns/variable_A03_t05.dart @@ -28,7 +28,7 @@ /// pattern /// @author sgrekhov22@gmail.com -// SharedOptions=--enable-experiment=patterns +// SharedOptions=--enable-experiment=patterns,records import "patterns_lib.dart"; diff --git a/LanguageFeatures/Patterns/wildcards_A01_t04.dart b/LanguageFeatures/Patterns/wildcards_A01_t04.dart index b1dc352f1b..001d9ed7f0 100644 --- a/LanguageFeatures/Patterns/wildcards_A01_t04.dart +++ b/LanguageFeatures/Patterns/wildcards_A01_t04.dart @@ -21,7 +21,7 @@ /// @description Check that wildcard `_` can be used in Object patterns /// @author sgrekhov22@gmail.com -// SharedOptions=--enable-experiment=patterns +// SharedOptions=--enable-experiment=patterns,records import "patterns_lib.dart"; import "../../Utils/expect.dart";