blob: 22743b9ffaf101014977dbda26df27613ae8a3aa [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
// This test checks that a noSuchMethod forwarder is generated in classes that
// inherit a user-defined noSuchMethod from their superclass and have not
// implemented abstract methods from their interfaces.
class A {
dynamic noSuchMethod(Invocation i) {
return null;
abstract class I {
void foo();
class B extends A implements I {}
main() {}