2014-07-13 01:04:16 +02:00
|
|
|
==== tests/cases/compiler/complicatedGenericRecursiveBaseClassReference.ts (2 errors) ====
|
|
|
|
class S18<B, A, C> extends S18<A[], { S19: A; (): A }[], C[]>
|
2014-07-19 02:30:06 +02:00
|
|
|
~~~
|
|
|
|
!!! Type 'S18<B, A, C>' recursively references itself as a base type.
|
2014-07-13 01:04:16 +02:00
|
|
|
{
|
|
|
|
}
|
|
|
|
(new S18(123)).S18 = 0;
|
|
|
|
~~~~~~~~~~~~
|
|
|
|
!!! Supplied parameters do not match any signature of call target.
|
|
|
|
|