16 lines
No EOL
389 B
Text
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);
|
|
}
|
|
} |