|  | library; | 
|  | // | 
|  | // Problems in library: | 
|  | // | 
|  | // pkg/front_end/testcases/general/issue41252.dart:7:20: Error: 'X' is already declared in this scope. | 
|  | //   static final int X = 0; | 
|  | //                    ^ | 
|  | // pkg/front_end/testcases/general/issue41252.dart:6:20: Context: Previous declaration of 'X'. | 
|  | //   static final int X = 0; | 
|  | //                    ^ | 
|  | // | 
|  | // pkg/front_end/testcases/general/issue41252.dart:9:26: Error: Can't use 'X' because it is declared more than once. | 
|  | //   static final int foo = X + 1; | 
|  | //                          ^ | 
|  | // | 
|  | import self as self; | 
|  | import "dart:core" as core; | 
|  |  | 
|  | class A extends core::Object { | 
|  | static final field core::int X = 0; | 
|  | static final field core::int foo = invalid-expression "pkg/front_end/testcases/general/issue41252.dart:9:26: Error: Can't use 'X' because it is declared more than once. | 
|  | static final int foo = X + 1; | 
|  | ^"{<invalid>}.+(1); | 
|  | synthetic constructor •() → self::A | 
|  | : super core::Object::•() | 
|  | ; | 
|  | } | 
|  | static method main() → dynamic {} |