| library; | |
| // | |
| // Problems in library: | |
| // | |
| // pkg/front_end/testcases/general/field_initializer_capture_this.dart:6:17: Error: Can't access 'this' in a field initializer to read 'x'. | |
| // var f = () => x; // error | |
| // ^ | |
| // | |
| import self as self; | |
| import "dart:core" as core; | |
| class Class extends core::Object { | |
| field () → invalid-type f; | |
| field dynamic x; | |
| synthetic constructor •() → self::Class | |
| ; | |
| } | |
| static method main() → dynamic | |
| ; |