Home
last modified time | relevance | path

Searched refs:super_covariant (Results 1 – 5 of 5) sorted by relevance

/third_party/typescript/tests/baselines/reference/
DvarianceAnnotations.js6 declare let super_covariant: Covariant<unknown>;
9 super_covariant = sub_covariant;
10 sub_covariant = super_covariant; // Error
180 super_covariant = sub_covariant;
181 sub_covariant = super_covariant; // Error
226 declare let super_covariant: Covariant<unknown>;
DvarianceAnnotations.types9 declare let super_covariant: Covariant<unknown>;
10 >super_covariant : Covariant<unknown>
15 super_covariant = sub_covariant;
16 >super_covariant = sub_covariant : Covariant<string>
17 >super_covariant : Covariant<unknown>
20 sub_covariant = super_covariant; // Error
21 >sub_covariant = super_covariant : Covariant<unknown>
23 >super_covariant : Covariant<unknown>
DvarianceAnnotations.symbols11 declare let super_covariant: Covariant<unknown>;
12 >super_covariant : Symbol(super_covariant, Decl(varianceAnnotations.ts, 4, 11))
19 super_covariant = sub_covariant;
20 >super_covariant : Symbol(super_covariant, Decl(varianceAnnotations.ts, 4, 11))
23 sub_covariant = super_covariant; // Error
25 >super_covariant : Symbol(super_covariant, Decl(varianceAnnotations.ts, 4, 11))
DvarianceAnnotations.errors.txt74 declare let super_covariant: Covariant<unknown>;
77 super_covariant = sub_covariant;
78 sub_covariant = super_covariant; // Error
/third_party/typescript/tests/cases/conformance/types/typeParameters/typeParameterLists/
DvarianceAnnotations.ts8 declare let super_covariant: Covariant<unknown>; variable
11 super_covariant = sub_covariant;
12 sub_covariant = super_covariant; // Error