blob: 41f552945fa2b2bf4d8dcf5b358bfb4c4cb1a5aa [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) void {}
}
static method main() dynamic {
self::A a = new self::A::•();
a.{self::A::A} = 5;
}