TypeScript/tests/baselines/reference/superWithTypeArgument3.errors.txt
2014-09-12 13:35:07 -07:00

19 lines
No EOL
539 B
Text

tests/cases/compiler/superWithTypeArgument3.ts(8,14): error TS1034: 'super' must be followed by an argument list or member access.
==== 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>();
~
!!! error TS1034: 'super' must be followed by an argument list or member access.
}
bar() {
super.bar<T>(null);
}
}