| // 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; |
| } |