| library test; | |
| import self as self; | |
| import "dart:core" as core; | |
| static const field core::int x1 = #C1; | |
| static final field core::int x2 = 1; | |
| static final field core::int y1 = #C1; | |
| static final field core::int y2 = self::x2; | |
| static method foo() → dynamic { | |
| core::int i; | |
| i = self::y1; | |
| i = self::y2; | |
| } | |
| static method main() → dynamic { | |
| self::foo(); | |
| } | |
| constants { | |
| #C1 = 1 | |
| } |