Skip to content

Commit

Permalink
dart-lang#2149. Fix new errors due to changes with the constant evalu…
Browse files Browse the repository at this point in the history
…ator
  • Loading branch information
sgrekhov committed Jul 26, 2023
1 parent f500a37 commit 75254d1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,19 +24,16 @@
/// parameters of the immediately enclosing class bound to a set of actual type
/// arguments V1, ..., Vm and the formal parameter bindings determined by the
/// argument list of the superinitializer of k.
///
/// @description Checks that 'this' is not accessible in the right-hand side of
/// an initialized instance variable declaration (e.g. a variable can't be
/// initialized using another variable).
/// @author msyabro

class C {
const C();
//^^^^^
// [analyzer] unspecified

final x = 1;

final y = x;
// ^
// [analyzer] unspecified
Expand Down
3 changes: 0 additions & 3 deletions LanguageFeatures/Enhanced-Enum/grammar_A01_t02.dart
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,6 @@
/// is any member declaration after it
/// @author [email protected]
// [error line 1, column 0]
// [analyzer] unspecified

enum Time1 {
hour,
day,
Expand Down

0 comments on commit 75254d1

Please sign in to comment.