blob: 729a6044ddea274dc16beb2aaf42772ae85b2681 [file] [log] [blame]
// Errors:
//
// pkg/front_end/testcases/regress/issue_30834.dart:6:7: Error: A class member can't have the same name as the enclosing class.
// set A(v) {}
// ^
library;
import self as self;
import "dart:core" as core;
class A extends core::Object {
synthetic constructor •() void
: super core::Object::•()
;
set A(dynamic v) void {}
}
static method main() dynamic {
self::A a = new self::A::•();
a.{self::A::A} = 5;
}