-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#1258. Enhanced enums test fixed, issue numbers added
- Loading branch information
Sergey G. Grekhov
committed
Feb 9, 2022
1 parent
d260a8e
commit d34fc84
Showing
17 changed files
with
40 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -50,6 +50,7 @@ | |
/// Enum as a superinterface, and it declares a non-abstract instance member | ||
/// named `index`. | ||
/// @author [email protected] | ||
/// @issue 48353 | ||
// SharedOptions=--enable-experiment=enhanced-enums | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -50,6 +50,7 @@ | |
/// Enum as a superinterface, and it declares a non-abstract instance member | ||
/// named `index`. | ||
/// @author [email protected] | ||
/// @issue 48353 | ||
// SharedOptions=--enable-experiment=enhanced-enums | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -50,6 +50,7 @@ | |
/// Enum as a superinterface, and it declares a non-abstract instance member | ||
/// named `index`. | ||
/// @author [email protected] | ||
/// @issue 48353 | ||
// SharedOptions=--enable-experiment=enhanced-enums | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -50,6 +50,7 @@ | |
/// Enum as a superinterface, and it declares a non-abstract instance member | ||
/// named `index`. | ||
/// @author [email protected] | ||
/// @issue 48353 | ||
// SharedOptions=--enable-experiment=enhanced-enums | ||
|
||
|
@@ -68,7 +69,7 @@ enum E2 { | |
e2(0); | ||
|
||
const E2(int i); | ||
final List<E2> index = []; | ||
final List<E2> index = const []; | ||
// ^^^^^ | ||
// [analyzer] unspecified | ||
// [cfe] unspecified | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -50,6 +50,7 @@ | |
/// Enum as a superinterface, and it declares a non-abstract instance member | ||
/// named `index`. | ||
/// @author [email protected] | ||
/// @issue 48353 | ||
// SharedOptions=--enable-experiment=enhanced-enums | ||
|
||
|
@@ -68,7 +69,7 @@ enum E2 { | |
e2(0); | ||
|
||
const E2(int i); | ||
List<E2> get index => []; | ||
List<E2> get index => const []; | ||
// ^^^^^ | ||
// [analyzer] unspecified | ||
// [cfe] unspecified | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -50,6 +50,7 @@ | |
/// Enum as a superinterface, and it declares a non-abstract instance member | ||
/// named `index`. | ||
/// @author [email protected] | ||
/// @issue 48353 | ||
// SharedOptions=--enable-experiment=enhanced-enums | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -50,6 +50,7 @@ | |
/// Enum as a superinterface, and it declares a non-abstract instance member | ||
/// named `index`. | ||
/// @author [email protected] | ||
/// @issue 48353 | ||
// SharedOptions=--enable-experiment=enhanced-enums | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -50,6 +50,7 @@ | |
/// Enum as a superinterface, and it declares a non-abstract instance member | ||
/// named `index`. | ||
/// @author [email protected] | ||
/// @issue 48353 | ||
// SharedOptions=--enable-experiment=enhanced-enums | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -50,6 +50,7 @@ | |
/// Enum as a superinterface, and it declares a non-abstract instance member | ||
/// named `index`. | ||
/// @author [email protected] | ||
/// @issue 48353 | ||
// SharedOptions=--enable-experiment=enhanced-enums | ||
|
||
|