blob: d9be9b4d12f80163ed6e4b3e5de42c02285faef4 [file] [log] [blame]
library;
//
// Problems in library:
//
// pkg/front_end/testcases/rasta/malformed_const_constructor.dart:8:5: Error: Expected '{' before this.
// : x = 'foo'
// ^
//
// pkg/front_end/testcases/rasta/malformed_const_constructor.dart:6:3: Error: A const constructor can't have a body.
// Try removing either the 'const' keyword or the body.
// const A()
// ^^^^^
//
// pkg/front_end/testcases/rasta/malformed_const_constructor.dart:8:5: Error: Expected a class member, but got ':'.
// : x = 'foo'
// ^
//
// pkg/front_end/testcases/rasta/malformed_const_constructor.dart:8:7: Error: Variables must be declared using the keywords 'const', 'final', 'var' or a type name.
// Try adding the name of the type of the variable or the keyword 'var'.
// : x = 'foo'
// ^
//
import self as self;
import "dart:core" as core;
class A extends core::Object {
field dynamic x;
constructor •() self::A
;
}
static method main() dynamic
;