Home
last modified time | relevance | path

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

/third_party/typescript/tests/baselines/reference/
DvarianceAnnotations.js17 declare let sub_contravariant: Contravariant<string>;
19 super_contravariant = sub_contravariant; // Error
20 sub_contravariant = super_contravariant;
182 super_contravariant = sub_contravariant; // Error
183 sub_contravariant = super_contravariant;
232 declare let sub_contravariant: Contravariant<string>;
DvarianceAnnotations.types36 declare let sub_contravariant: Contravariant<string>;
37 >sub_contravariant : Contravariant<string>
39 super_contravariant = sub_contravariant; // Error
40 >super_contravariant = sub_contravariant : Contravariant<string>
42 >sub_contravariant : Contravariant<string>
44 sub_contravariant = super_contravariant;
45 >sub_contravariant = super_contravariant : Contravariant<unknown>
46 >sub_contravariant : Contravariant<string>
DvarianceAnnotations.symbols41 declare let sub_contravariant: Contravariant<string>;
42 >sub_contravariant : Symbol(sub_contravariant, Decl(varianceAnnotations.ts, 15, 11))
45 super_contravariant = sub_contravariant; // Error
47 >sub_contravariant : Symbol(sub_contravariant, Decl(varianceAnnotations.ts, 15, 11))
49 sub_contravariant = super_contravariant;
50 >sub_contravariant : Symbol(sub_contravariant, Decl(varianceAnnotations.ts, 15, 11))
DvarianceAnnotations.errors.txt88 declare let sub_contravariant: Contravariant<string>;
90 super_contravariant = sub_contravariant; // Error
94 sub_contravariant = super_contravariant;
/third_party/typescript/tests/cases/conformance/types/typeParameters/typeParameterLists/
DvarianceAnnotations.ts19 declare let sub_contravariant: Contravariant<string>; variable
21 super_contravariant = sub_contravariant; // Error
22 sub_contravariant = super_contravariant;