Home
last modified time | relevance | path

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

/third_party/typescript/tests/baselines/reference/
DvarianceAnnotations.js27 declare let sub_invariant: Invariant<string>;
29 super_invariant = sub_invariant; // Error
30 sub_invariant = super_invariant; // Error
184 super_invariant = sub_invariant; // Error
185 sub_invariant = super_invariant; // Error
237 declare let sub_invariant: Invariant<string>;
DvarianceAnnotations.types60 declare let sub_invariant: Invariant<string>;
61 >sub_invariant : Invariant<string>
63 super_invariant = sub_invariant; // Error
64 >super_invariant = sub_invariant : Invariant<string>
66 >sub_invariant : Invariant<string>
68 sub_invariant = super_invariant; // Error
69 >sub_invariant = super_invariant : Invariant<unknown>
70 >sub_invariant : Invariant<string>
DvarianceAnnotations.symbols68 declare let sub_invariant: Invariant<string>;
69 >sub_invariant : Symbol(sub_invariant, Decl(varianceAnnotations.ts, 25, 11))
72 super_invariant = sub_invariant; // Error
74 >sub_invariant : Symbol(sub_invariant, Decl(varianceAnnotations.ts, 25, 11))
76 sub_invariant = super_invariant; // Error
77 >sub_invariant : Symbol(sub_invariant, Decl(varianceAnnotations.ts, 25, 11))
DvarianceAnnotations.errors.txt101 declare let sub_invariant: Invariant<string>;
103 super_invariant = sub_invariant; // Error
110 sub_invariant = super_invariant; // Error
/third_party/typescript/tests/cases/conformance/types/typeParameters/typeParameterLists/
DvarianceAnnotations.ts29 declare let sub_invariant: Invariant<string>; variable
31 super_invariant = sub_invariant; // Error
32 sub_invariant = super_invariant; // Error