dart-sdk/pkg/front_end/testcases/no_such_method_forwarders/duplicated_abstract_method.dart.textual_outline.expect
Johnni Winther 77e24a6736 [cfe] Migrate noSuchMethod forwarder tests to null-safety
Change-Id: I7fbfc06a864eaaf4052b736d756410be5d1ab531
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/275601
Reviewed-by: Chloe Stefantsova <cstefantsova@google.com>
Commit-Queue: Johnni Winther <johnniwinther@google.com>
2022-12-14 13:12:09 +00:00

14 lines
161 B
Plaintext

abstract class I1 {
void foo();
}
abstract class I2 {
void foo();
}
class M implements I1, I2 {
dynamic noSuchMethod(Invocation i) => null;
}
main() {}