blob: 42779421239d3ae122657afbaf14afcfc3f054f8 [file] [log] [blame]
library;
import self as self;
import "dart:core" as core;
class C extends core::Object {
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: Unexpected token 'operator'.\n operator unary- => 0;\n ^", "pkg/front_end/testcases/regress/issue_31183.dart:6:17: Error: Operator declarations must be preceeded by the keyword 'operator'.\nTry adding the keyword 'operator'.\n operator unary- => 0;\n ^", "pkg/front_end/testcases/regress/issue_31183.dart:6:17: Error: A method declaration needs an explicit list of parameters.\nTry adding a parameter list to the method declaration.\n operator unary- => 0;\n ^"]/* from null */;
static method main() dynamic {
new self::C::•();
}