blob: 2e67e5bbd6665e68db9d18b42167bbe00c79f5b7 [file] [log] [blame]
// Copyright (c) 2020, 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 noSuchMethod forwarders inserted into a class aren't
// re-inserted in its children.
import './forwarder_propagation_lib.dart';
abstract class A {
void set foo(int value);
int get bar;
void baz(int x, {String y, double z});
class B implements A {
noSuchMethod(_) {}
class C extends B {}
class E implements D {}
class F extends E {}
main() {}