TypeScript/tests/baselines/reference/superWithTypeArgument3.errors.txt
2014-07-12 17:30:19 -07:00

16 lines
386 B
Plaintext

==== tests/cases/compiler/superWithTypeArgument3.ts (1 errors) ====
class C<T> {
foo: T;
bar<U>(x: U) { }
}
class D<T> extends C<T> {
constructor() {
super<T>();
~
!!! 'super' must be followed by argument list or member access.
}
bar() {
super.bar<T>(null);
}
}