Skip to content

Commit e58b0f1

Browse files
authored
#2119. Add missing experimental flags (#2474)
1 parent a8fb220 commit e58b0f1

13 files changed

+27
-0
lines changed

LanguageFeatures/Extension-types/exhaustiveness_constant_A01_t01.dart

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99
/// exhaustiveness is defined by the type of the value of the constant.
1010
/// @author [email protected]
1111
12+
// SharedOptions=--enable-experiment=inline-class
13+
1214
import "../../Utils/expect.dart";
1315

1416
extension type const BoolET1(bool _) {}

LanguageFeatures/Extension-types/exhaustiveness_constant_A02_t01.dart

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99
/// then it is not exhausted
1010
/// @author [email protected]
1111
12+
// SharedOptions=--enable-experiment=inline-class
13+
1214
class C {
1315
final bool v;
1416
const C(this.v);

LanguageFeatures/Extension-types/exhaustiveness_constant_A02_t02.dart

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99
/// then it is not exhausted
1010
/// @author [email protected]
1111
12+
// SharedOptions=--enable-experiment=inline-class
13+
1214
import "../../Utils/expect.dart";
1315

1416
class C {

LanguageFeatures/Extension-types/exhaustiveness_list_A02_t01.dart

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010
/// representation type`List`.
1111
/// @author [email protected]
1212
13+
// SharedOptions=--enable-experiment=inline-class
14+
1315
extension type ET1<T>(List<T> _) {}
1416
extension type ET2<T>(List<T> _) implements List<T> {}
1517

LanguageFeatures/Extension-types/exhaustiveness_list_A03_t01.dart

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@
1111
/// and the set of cases is not exhaustive.
1212
/// @author [email protected]
1313
14+
// SharedOptions=--enable-experiment=inline-class
15+
1416
extension type ET1<T>(List<T> _) {}
1517
extension type ET2<T>(List<T> _) implements List<T> {}
1618

LanguageFeatures/Extension-types/exhaustiveness_list_A03_t02.dart

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@
1111
/// and the set of cases is not exhaustive.
1212
/// @author [email protected]
1313
14+
// SharedOptions=--enable-experiment=inline-class
15+
1416
extension type ET1<T>(List<T> _) {}
1517
extension type ET2<T>(List<T> _) implements List<T> {}
1618

LanguageFeatures/Extension-types/exhaustiveness_list_A03_t03.dart

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@
1111
/// and the set of cases is not exhaustive.
1212
/// @author [email protected]
1313
14+
// SharedOptions=--enable-experiment=inline-class
15+
1416
extension type ET1<T>(List<T> _) {}
1517
extension type ET2<T>(List<T> _) implements List<T> {}
1618

LanguageFeatures/Extension-types/exhaustiveness_list_A04_t01.dart

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010
/// `List` as a representation type can be exhaustive
1111
/// @author [email protected]
1212
13+
// SharedOptions=--enable-experiment=inline-class
14+
1315
import "dart:collection";
1416
import "../../Utils/expect.dart";
1517

LanguageFeatures/Extension-types/exhaustiveness_list_A04_t02.dart

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010
/// `List` as a representation type can be exhaustive
1111
/// @author [email protected]
1212
13+
// SharedOptions=--enable-experiment=inline-class
14+
1315
import "dart:collection";
1416
import "../../Utils/expect.dart";
1517

LanguageFeatures/Extension-types/exhaustiveness_list_A04_t03.dart

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010
/// with a negative length as a representation type can be exhaustive
1111
/// @author [email protected]
1212
13+
// SharedOptions=--enable-experiment=inline-class
14+
1315
import "dart:collection";
1416
import "../../Utils/expect.dart";
1517

LanguageFeatures/Extension-types/exhaustiveness_list_A04_t04.dart

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010
/// with a negative length as a representation type can be exhaustive
1111
/// @author [email protected]
1212
13+
// SharedOptions=--enable-experiment=inline-class
14+
1315
import "dart:collection";
1416
import "../../Utils/expect.dart";
1517

LanguageFeatures/Extension-types/exhaustiveness_null_assert_A01_t01.dart

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@
99
/// subpattern and a type `Null` is exhausted. Test switch statement
1010
/// @author [email protected]
1111
12+
13+
// SharedOptions=--enable-experiment=inline-class
14+
1215
import "../../Utils/expect.dart";
1316

1417
extension type const BoolET1(bool _) {}

LanguageFeatures/Extension-types/exhaustiveness_null_assert_A01_t02.dart

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99
/// subpattern and a type `Null` is exhausted. Test switch expression
1010
/// @author [email protected]
1111
12+
// SharedOptions=--enable-experiment=inline-class
13+
1214
import "../../Utils/expect.dart";
1315

1416
extension type const ObjectET1(Object _) {}

0 commit comments

Comments
 (0)