| library; |
| // |
| // Problems in library: |
| // |
| // pkg/front_end/testcases/no_such_method_forwarders/setter_not_shadowed_by_method.dart:12:12: Error: 'foo' is already declared in this scope. |
| // void set foo(int x); |
| // ^^^ |
| // pkg/front_end/testcases/no_such_method_forwarders/setter_not_shadowed_by_method.dart:10:8: Context: Previous declaration of 'foo'. |
| // void foo(int x) {} |
| // ^^^ |
| // |
| import self as self; |
| import "dart:core" as core; |
| |
| class A extends core::Object { |
| synthetic constructor •() → self::A* |
| : super core::Object::•() |
| ; |
| method foo(core::int* x) → void {} |
| no-such-method-forwarder set foo(core::int* x) → void |
| return this.{self::A::noSuchMethod}(new core::_InvocationMirror::_withType(#C1, 2, #C2, core::List::unmodifiable<dynamic>(<dynamic>[x]), core::Map::unmodifiable<core::Symbol*, dynamic>(#C4))); |
| method noSuchMethod(core::Invocation* i) → dynamic |
| return null; |
| } |
| static method main() → dynamic {} |
| |
| constants { |
| #C1 = #foo= |
| #C2 = <core::Type*>[] |
| #C3 = <dynamic>[] |
| #C4 = core::_ImmutableMap<core::Symbol*, dynamic> {_kvPairs:#C3} |
| } |