TypeScript/tests/baselines/reference/superWithTypeArgument3.errors.txt
2014-08-07 15:59:49 -07:00

16 lines
No EOL
389 B
Text

==== 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 an argument list or member access.
}
bar() {
super.bar<T>(null);
}
}