blob: c2c9d0627fa4595ee7aa0f33905836f5e5f8c4d0 [file] [log] [blame]
library test;
class C<T> {
C(this.plusResult);
final num Function(T) plusResult;
num Function(T) operator +(int i) => plusResult;
}
class D {
C<num> get value => getValue;
D(this.getValue);
final C<num> getValue;
int Function(int) setValue;
void set value(int Function(int) value) {}
}
int numToInt(num n) => 1;
num numToNum(num n) => 2;
void expect(Object value, Object expected) {}
void expectTypeError(void callback()) {}
void main() {}