dart-sdk/pkg/front_end/testcases/inference_new/infer_assign_to_index_this2.dart.textual_outline.expect

31 lines
474 B
Plaintext
Raw Normal View History

library test;
class Index {}
class A {}
class B extends A {
B operator +(C v) => throw '';
B operator -(int i) => throw '';
B operator *(B v) => throw '';
C operator &(A v) => throw '';
}
class C extends B {}
T f<T>() => throw '';
class Test {
B operator [](Index i) => throw '';
void operator []=(Index i, B v) {}
void test() {}
}
class Test2 {
B? operator [](Index i) => throw '';
void operator []=(Index i, B? v) {}
void test() {}
}
main() {}