f66e1ed7be
Change-Id: I5cc3339880d0a77fbbcbd9f8a22e1186e5e2a5df Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/145380 Reviewed-by: Johnni Winther <johnniwinther@google.com>
17 lines
413 B
Plaintext
17 lines
413 B
Plaintext
abstract class CustomType extends Type {
|
|
void call() {}
|
|
}
|
|
|
|
abstract class CustomInvocation implements Invocation {}
|
|
|
|
abstract class Class {
|
|
CustomType get runtimeType;
|
|
String noSuchMethod(covariant CustomInvocation invocation);
|
|
bool operator ==(covariant Class o);
|
|
String toString({Object o});
|
|
}
|
|
|
|
main() {}
|
|
void test(Class c1, Class? c2, Invocation invocation,
|
|
CustomInvocation customInvocation) {}
|