TypeScript/tests/cases/compiler/incrementOnTypeParameter.ts
2014-07-12 17:30:19 -07:00

9 lines
126 B
TypeScript

class C<T> {
a: T;
foo() {
this.a++;
for (var i: T, j = 0; j < 10; i++) {
}
}
}