2014-07-13 01:04:16 +02:00
|
|
|
==== tests/cases/compiler/genericRecursiveImplicitConstructorErrors1.ts (1 errors) ====
|
|
|
|
export declare module TypeScript {
|
|
|
|
class PullSymbol { }
|
|
|
|
class PullSignatureSymbol <A,B,C> extends PullSymbol {
|
|
|
|
public addSpecialization<A,B,C>(signature: PullSignatureSymbol<A,B,C>, typeArguments: PullTypeSymbol<any,any,any>[]): void;
|
|
|
|
}
|
|
|
|
class PullTypeSymbol <A,B,C> extends PullSymbol {
|
|
|
|
public findTypeParameter<A,B,C>(name: string): PullTypeParameterSymbol<A,B,C>;
|
|
|
|
}
|
|
|
|
class PullTypeParameterSymbol <A,B,C> extends PullTypeSymbol {
|
|
|
|
~~~~~~~~~~~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2314: Generic type 'PullTypeSymbol<A, B, C>' requires 3 type argument(s).
|
2014-07-13 01:04:16 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|