8103c90dbf
+ emit only one message per method given that it now always has the same root cause, namely that the combined member signature does not exist. Closes #31797 Change-Id: Id89a5557c5fdda1db087c20cbe92847dd08216a3 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/175305 Reviewed-by: Dmitry Stefantsov <dmitryas@google.com> Commit-Queue: Johnni Winther <johnniwinther@google.com>
18 lines
353 B
Dart
18 lines
353 B
Dart
// Copyright (c) 2017, 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.
|
|
|
|
class A {
|
|
void f(Object x) {}
|
|
}
|
|
|
|
class B {
|
|
void f(String x) {}
|
|
}
|
|
|
|
class C extends A implements B {
|
|
void f(x) {}
|
|
}
|
|
|
|
void main() {}
|