blob: f2504e8950e1c42b97b119fb2b06ac4e7584d981 [file] [log] [blame]
// Formatted problems:
//
// 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) {}
// ^
// Unhandled 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 •() self::A
: super core::Object::•()
;
set A(dynamic v) dynamic {}
}
static method main() dynamic {
dynamic a = new self::A::•();
a.A = 5;
}