blob: e1e9e015bcb380c2a483aede6b2c123090215b18 [file] [log] [blame]
// Unhandled errors:
//
// pkg/front_end/testcases/regress/issue_30981.dart:6:7: Error: A class member can't have the same name as the enclosing class.
// get A {
// ^
library;
import self as self;
import "dart:core" as core;
class A extends core::Object {
synthetic constructor •() self::A
: super core::Object::•()
;
get A() dynamic {
core::print("Actually, I'm a getter, not a constructor.");
}
}
static method main() dynamic {
new self::A::•();
}