Skip to content

Commit 92d6ad0

Browse files
authored
Fixes #1899. Language version 2.19 added to legacy mixins tests (#1907)
Add language version 2.19 to legacy mixins tests. Update generator and generated files.
1 parent 45f802f commit 92d6ad0

File tree

358 files changed

+1809
-18
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

358 files changed

+1809
-18
lines changed

Language/Classes/definition_t01.dart

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@
1111
/// to this syntax do not cause any errors and can be instantiated.
1212
/// @author msyabro
1313
14+
// TODO(https://github.com/dart-lang/sdk/issues/51557): Decide if the mixins
15+
// being applied in this test should be "mixin", "mixin class" or the test
16+
// should be left at 2.19.
17+
// @dart=2.19
1418

1519
abstract class I {}
1620
abstract class J {}

Language/Classes/definition_t23.dart

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@
1212
/// errors and can be instantiated.
1313
/// @author [email protected]
1414
15+
// TODO(https://github.com/dart-lang/sdk/issues/51557): Decide if the mixins
16+
// being applied in this test should be "mixin", "mixin class" or the test
17+
// should be left at 2.19.
18+
// @dart=2.19
1519

1620
@A() abstract class I1<T> = A1 with B1;
1721
abstract class J1<T> = A1 with B1;

Language/Classes/mixins_t01.dart

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@
1414
/// accepted.
1515
/// @author kaigorodov
1616
17+
// TODO(https://github.com/dart-lang/sdk/issues/51557): Decide if the mixins
18+
// being applied in this test should be "mixin", "mixin class" or the test
19+
// should be left at 2.19.
20+
// @dart=2.19
1721

1822
class A {
1923
int a() {return 1;}

Language/Classes/mixins_t02.dart

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@
1313
/// @description Checks that mixins without superclass are allowed
1414
/// @author kaigorodov
1515
16+
// TODO(https://github.com/dart-lang/sdk/issues/51557): Decide if the mixins
17+
// being applied in this test should be "mixin", "mixin class" or the test
18+
// should be left at 2.19.
19+
// @dart=2.19
1620

1721
class A {
1822
int a() {return 1;}

Language/Expressions/Lookup/Getter_and_Setter_Lookup/definition_t08.dart

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,11 @@
1313
/// lookup.
1414
/// @author ilya
1515
16+
// TODO(https://github.com/dart-lang/sdk/issues/51557): Decide if the mixins
17+
// being applied in this test should be "mixin", "mixin class" or the test
18+
// should be left at 2.19.
19+
// @dart=2.19
20+
1621
import '../../../../Utils/expect.dart';
1722

1823
class A {

Language/Expressions/Lookup/Method_Lookup/instance_t03.dart

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,11 @@
1111
///
1212
/// @author [email protected]
1313
14+
// TODO(https://github.com/dart-lang/sdk/issues/51557): Decide if the mixins
15+
// being applied in this test should be "mixin", "mixin class" or the test
16+
// should be left at 2.19.
17+
// @dart=2.19
18+
1419
import '../../../../Utils/expect.dart';
1520

1621
class A {

Language/Expressions/Lookup/Method_Lookup/superclass_t09.dart

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,11 @@
1212
/// found during lookup
1313
/// @author [email protected]
1414
15+
// TODO(https://github.com/dart-lang/sdk/issues/51557): Decide if the mixins
16+
// being applied in this test should be "mixin", "mixin class" or the test
17+
// should be left at 2.19.
18+
// @dart=2.19
19+
1520
import '../../../../Utils/expect.dart';
1621

1722
class A {

Language/Expressions/Method_Invocation/Ordinary_Invocation/accessible_instance_member_t07.dart

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,11 @@
2020
/// that extends class Function and doesn't implement method call.
2121
/// @author [email protected]
2222
23+
// TODO(https://github.com/dart-lang/sdk/issues/51557): Decide if the mixins
24+
// being applied in this test should be "mixin", "mixin class" or the test
25+
// should be left at 2.19.
26+
// @dart=2.19
27+
2328
import '../../../../Utils/expect.dart';
2429

2530
class A extends Function {

Language/Expressions/Method_Invocation/Ordinary_Invocation/accessible_instance_member_t08.dart

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,11 @@
2020
/// a class that extends class Function and implements method call.
2121
/// @author [email protected]
2222
23+
// TODO(https://github.com/dart-lang/sdk/issues/51557): Decide if the mixins
24+
// being applied in this test should be "mixin", "mixin class" or the test
25+
// should be left at 2.19.
26+
// @dart=2.19
27+
2328
import '../../../../Utils/expect.dart';
2429

2530
class A extends Function {

Language/Expressions/Property_Extraction/Super_Getter_Access_and_Method_Closurization/method_extraction_t03.dart

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,11 @@
1313
/// property extraction is method that was found in a mixin.
1414
/// @author [email protected]
1515
16+
// TODO(https://github.com/dart-lang/sdk/issues/51557): Decide if the mixins
17+
// being applied in this test should be "mixin", "mixin class" or the test
18+
// should be left at 2.19.
19+
// @dart=2.19
20+
1621
import '../../../../Utils/expect.dart';
1722

1823
class A {

0 commit comments

Comments
 (0)