blob: fcbc2e3c7d53d9cc3aff89404754848e18e5397a [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.
// This test checks that the noSuchMethod forwarder is not duplicated in classes
// that mix in the classes that already have the forwarder.
abstract class I {
void foo();
}
class A implements I {
dynamic noSuchMethod(Invocation i) => null;
}
class B extends Object with A {}
main() {}