blob: 3911009aed89a045e0754e5f02b61f778099f833 [file] [log] [blame]
library;
import self as self;
import "dart:core" as core;
class C extends core::Object {
field dynamic operator = null;
synthetic constructor •() void
: super core::Object::•()
;
operator unary-() dynamic
return 0;
}
static const field dynamic #errors = const <dynamic>["pkg/front_end/testcases/regress/issue_31183.dart:6:3: 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'.
operator unary- => 0;
^^^^^^^^", "pkg/front_end/testcases/regress/issue_31183.dart:6:12: Error: Expected ';' before this.
operator unary- => 0;
^^^^^", "pkg/front_end/testcases/regress/issue_31183.dart:6:17: Error: Operator declarations must be preceeded by the keyword 'operator'.
Try adding the keyword 'operator'.
operator unary- => 0;
^", "pkg/front_end/testcases/regress/issue_31183.dart:6:17: Error: A method declaration needs an explicit list of parameters.
Try adding a parameter list to the method declaration.
operator unary- => 0;
^"]/* from null */;
static method main() → dynamic {
new self::C::•();
}