| library; |
| import self as self; |
| import "dart:core" as core; |
| |
| class A extends core::Object { |
| const constructor •() → void |
| : final dynamic #t1 = invalid-expression "pkg/front_end/testcases/rasta/malformed_const_constructor.dart:7:7: Error: Setter not found: 'x'.\n : x = 'foo'\n ^" |
| ; |
| } |
| static const field dynamic #errors = const <dynamic>["pkg/front_end/testcases/rasta/malformed_const_constructor.dart:8:5: Error: Expected a function body, but got ':'.\n : x = 'foo'\n ^", "pkg/front_end/testcases/rasta/malformed_const_constructor.dart: Error: A const constructor can't have a body."]/* from null */; |
| static method main() → dynamic { |
| const self::A::•(); |
| new self::A::•(); |
| } |