blob: 4f98cfe3fe94d8d228bb5cb28c915540d11185ea [file] [log] [blame]
// Copyright (c) 2018, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
// @dart=2.9
// The test checks that the abstract setter is not shadowed by a method with the
// same name when generating the noSuchMethod forwarder for the setter.
class A {
// This method is not abstract.
void foo(int x) {}
void set foo(int x);
dynamic noSuchMethod(Invocation i) => null;
main() {}