| library; | |
| // | |
| // Problems in library: | |
| // | |
| // pkg/front_end/testcases/regress/issue_36793.dart:10:5: Error: 'x' is already declared in this scope. | |
| // int x = 2; | |
| // ^ | |
| // pkg/front_end/testcases/regress/issue_36793.dart:8:5: Context: Previous declaration of 'x'. | |
| // int x = 1; | |
| // ^ | |
| // | |
| import self as self; | |
| import "dart:core" as core; | |
| static const field core::int y = #C1; | |
| @#C1 | |
| static field core::int x = 1; | |
| static method main() → dynamic { | |
| core::print(#C1); | |
| } | |
| constants { | |
| #C1 = 42 | |
| } |