Home
last modified time | relevance | path

Searched refs:Grow2 (Results 1 – 6 of 6) sorted by relevance

/third_party/typescript/tests/baselines/reference/
DrecursiveConditionalTypes.errors.txt24 tests/cases/compiler/recursiveConditionalTypes.ts(116,9): error TS2345: Argument of type 'Grow2<[],…
25 Type '[] | Grow2<[string], T>' is not assignable to type 'Grow1<[], T>'.
27 Type 'Grow2<[string], T>' is not assignable to type 'Grow1<[number], T>'.
28 Type '[string] | Grow2<[string, string], T>' is not assignable to type 'Grow1<[number], T>'.
178 …type Grow2<T extends unknown[], N extends number> = T['length'] extends N ? T : Grow2<[string, ...…
180 function f21<T extends number>(x: Grow1<[], T>, y: Grow2<[], T>) {
183 !!! error TS2345: Argument of type 'Grow2<[], T>' is not assignable to parameter of type 'Grow1<[],…
184 !!! error TS2345: Type '[] | Grow2<[string], T>' is not assignable to type 'Grow1<[], T>'.
186 !!! error TS2345: Type 'Grow2<[string], T>' is not assignable to type 'Grow1<[number], T>'.
187 !!! error TS2345: Type '[string] | Grow2<[string, string], T>' is not assignable to type 'G…
DrecursiveConditionalTypes.types298 type Grow2<T extends unknown[], N extends number> = T['length'] extends N ? T : Grow2<[string, ...T…
299 >Grow2 : Grow2<T, N>
301 function f21<T extends number>(x: Grow1<[], T>, y: Grow2<[], T>) {
302 >f21 : <T extends number>(x: Grow1<[], T>, y: Grow2<[], T>) => void
304 >y : Grow2<[], T>
308 >f21 : <T extends number>(x: Grow1<[], T>, y: Grow2<[], T>) => void
309 >y : Grow2<[], T>
DrecursiveConditionalTypes.js114 type Grow2<T extends unknown[], N extends number> = T['length'] extends N ? T : Grow2<[string, ...T…
116 function f21<T extends number>(x: Grow1<[], T>, y: Grow2<[], T>) {
235 declare type Grow2<T extends unknown[], N extends number> = T['length'] extends N ? T : Grow2<[stri…
236 declare function f21<T extends number>(x: Grow1<[], T>, y: Grow2<[], T>): void;
DrecursiveConditionalTypes.symbols441 type Grow2<T extends unknown[], N extends number> = T['length'] extends N ? T : Grow2<[string, ...T…
442 >Grow2 : Symbol(Grow2, Decl(recursiveConditionalTypes.ts, 111, 105))
448 >Grow2 : Symbol(Grow2, Decl(recursiveConditionalTypes.ts, 111, 105))
452 function f21<T extends number>(x: Grow1<[], T>, y: Grow2<[], T>) {
459 >Grow2 : Symbol(Grow2, Decl(recursiveConditionalTypes.ts, 111, 105))
/third_party/typescript/tests/cases/compiler/
DrecursiveConditionalTypes.ts117 type Grow2<T extends unknown[], N extends number> = T['length'] extends N ? T : Grow2<[string, ...T… alias
119 function f21<T extends number>(x: Grow1<[], T>, y: Grow2<[], T>) {
/third_party/mesa3d/src/util/tests/
Dvector_test.cpp89 TEST(Vector, Grow2) { test(4, 2, 0); } in TEST() argument