blob: 6716edee77637d8cfff289cd3ee7e398b96d0171 [file] [log] [blame]
// @dart = 2.9
class A {
operator +(String s) => null;
operator [](i) => null;
operator []=(i, val) {}
}
class Autobianchi {
g() => super[0];
}
class B extends A {
operator +(String s) => super + ("${s}${s}");
operator [](i) => super[i];
operator []=(i, val) => super[i++] += val;
}