Home
last modified time | relevance | path

Searched refs:Foo1 (Results 1 – 25 of 79) sorted by relevance

1234

/third_party/typescript/tests/cases/conformance/types/literal/
DtemplateLiteralTypes3.ts6 type Foo1<T> = T extends `*${infer U}*` ? U : never; alias
8 type T01 = Foo1<'hello'>;
9 type T02 = Foo1<'*hello*'>;
10 type T03 = Foo1<'**hello**'>;
11 type T04 = Foo1<`*${string}*`>;
12 type T05 = Foo1<`*${number}*`>;
13 type T06 = Foo1<`*${bigint}*`>;
14 type T07 = Foo1<`*${any}*`>;
15 type T08 = Foo1<`**${string}**`>;
16 type T09 = Foo1<`**${string}**${string}**`>;
[all …]
/third_party/typescript/tests/baselines/reference/
DmoduleAndInterfaceWithSameName.js2 module Foo1 {
35 var Foo1;
36 (function (Foo1) { argument
40 })(Bar = Foo1.Bar || (Foo1.Bar = {}));
41 })(Foo1 || (Foo1 = {}));
DtemplateLiteralTypes3.js4 type Foo1<T> = T extends `*${infer U}*` ? U : never;
6 type T01 = Foo1<'hello'>;
7 type T02 = Foo1<'*hello*'>;
8 type T03 = Foo1<'**hello**'>;
9 type T04 = Foo1<`*${string}*`>;
10 type T05 = Foo1<`*${number}*`>;
11 type T06 = Foo1<`*${bigint}*`>;
12 type T07 = Foo1<`*${any}*`>;
13 type T08 = Foo1<`**${string}**`>;
14 type T09 = Foo1<`**${string}**${string}**`>;
[all …]
DpropertyIdentityWithPrivacyMismatch.js21 class Foo1 { class
27 var y: Foo1;
37 var Foo1 = /** @class */ (function () { class
38 function Foo1() { class in anonymousFunctioncdec46780100.Foo1
40 return Foo1;
DpropertyIdentityWithPrivacyMismatch.types17 class Foo1 {
18 >Foo1 : Foo1
29 var y: Foo1;
30 >y : Foo1
33 >y : Foo1
DvarianceMeasurement.types5 interface Foo1<T> {
9 y: Foo1<(arg: T) => void>;
10 >y : Foo1<(arg: T) => void>
14 declare const f10: Foo1<string>;
15 >f10 : Foo1<string>
17 const f11: Foo1<'a'> = f10;
18 >f11 : Foo1<"a">
19 >f10 : Foo1<string>
21 const f12: Foo1<unknown> = f10;
22 >f12 : Foo1<unknown>
[all …]
DpropertyIdentityWithPrivacyMismatch.symbols19 class Foo1 {
20 >Foo1 : Symbol(Foo1, Decl(propertyIdentityWithPrivacyMismatch_1.ts, 4, 14))
23 >n : Symbol(Foo1.n, Decl(propertyIdentityWithPrivacyMismatch_1.ts, 5, 12))
31 var y: Foo1;
33 >Foo1 : Symbol(Foo1, Decl(propertyIdentityWithPrivacyMismatch_1.ts, 4, 14))
DtemplateLiteralTypes3.symbols4 type Foo1<T> = T extends `*${infer U}*` ? U : never;
5 >Foo1 : Symbol(Foo1, Decl(templateLiteralTypes3.ts, 0, 0))
11 type T01 = Foo1<'hello'>;
13 >Foo1 : Symbol(Foo1, Decl(templateLiteralTypes3.ts, 0, 0))
15 type T02 = Foo1<'*hello*'>;
17 >Foo1 : Symbol(Foo1, Decl(templateLiteralTypes3.ts, 0, 0))
19 type T03 = Foo1<'**hello**'>;
21 >Foo1 : Symbol(Foo1, Decl(templateLiteralTypes3.ts, 0, 0))
23 type T04 = Foo1<`*${string}*`>;
25 >Foo1 : Symbol(Foo1, Decl(templateLiteralTypes3.ts, 0, 0))
[all …]
DvarianceMeasurement.symbols5 interface Foo1<T> {
6 >Foo1 : Symbol(Foo1, Decl(varianceMeasurement.ts, 0, 0))
10 >x : Symbol(Foo1.x, Decl(varianceMeasurement.ts, 3, 19))
13 y: Foo1<(arg: T) => void>;
14 >y : Symbol(Foo1.y, Decl(varianceMeasurement.ts, 4, 7))
15 >Foo1 : Symbol(Foo1, Decl(varianceMeasurement.ts, 0, 0))
20 declare const f10: Foo1<string>;
22 >Foo1 : Symbol(Foo1, Decl(varianceMeasurement.ts, 0, 0))
24 const f11: Foo1<'a'> = f10;
26 >Foo1 : Symbol(Foo1, Decl(varianceMeasurement.ts, 0, 0))
[all …]
DdeepComparisons.types42 type Foo1<T> = { x: Foo2<T> };
43 >Foo1 : Foo1<T>
46 type Foo2<T> = { x: Foo1<T> };
48 >x : Foo1<T>
53 let x: Foo1<U> = 0 as any as Bar<U>; // No error!
54 >x : Foo1<U>
DvarArgConstructorMemberParameter.js2 class Foo1 { class
16 var Foo1 = /** @class */ (function () {
17 function Foo1() { class in Foo1
23 return Foo1;
DunionAndIntersectionInference3.types33 interface Foo1<T> {
45 declare let f1: <T>(x: Foo1<T> | Bar1<T>) => Promise<T>;
46 >f1 : <T>(x: Foo1<T> | Bar1<T>) => Promise<T>
47 >x : Foo1<T> | Bar1<T>
49 declare let f2: <U>(x: Foo1<U> | Bar1<U>) => Promise<U>;
50 >f2 : <U>(x: Foo1<U> | Bar1<U>) => Promise<U>
51 >x : Foo1<U> | Bar1<U>
54 >f1 = f2 : <U>(x: Foo1<U> | Bar1<U>) => Promise<U>
55 >f1 : <T>(x: Foo1<T> | Bar1<T>) => Promise<T>
56 >f2 : <U>(x: Foo1<U> | Bar1<U>) => Promise<U>
[all …]
DvarianceMeasurement.js5 interface Foo1<T> {
7 y: Foo1<(arg: T) => void>;
10 declare const f10: Foo1<string>;
11 const f11: Foo1<'a'> = f10;
12 const f12: Foo1<unknown> = f10;
DtemplateLiteralTypes3.errors.txt15 type Foo1<T> = T extends `*${infer U}*` ? U : never;
17 type T01 = Foo1<'hello'>;
18 type T02 = Foo1<'*hello*'>;
19 type T03 = Foo1<'**hello**'>;
20 type T04 = Foo1<`*${string}*`>;
21 type T05 = Foo1<`*${number}*`>;
22 type T06 = Foo1<`*${bigint}*`>;
23 type T07 = Foo1<`*${any}*`>;
24 type T08 = Foo1<`**${string}**`>;
25 type T09 = Foo1<`**${string}**${string}**`>;
[all …]
DvarArgConstructorMemberParameter.types2 class Foo1 {
3 >Foo1 : Foo1
DdeepComparisons.symbols62 type Foo1<T> = { x: Foo2<T> };
63 >Foo1 : Symbol(Foo1, Decl(deepComparisons.ts, 11, 1))
69 type Foo2<T> = { x: Foo1<T> };
73 >Foo1 : Symbol(Foo1, Decl(deepComparisons.ts, 11, 1))
80 let x: Foo1<U> = 0 as any as Bar<U>; // No error!
82 >Foo1 : Symbol(Foo1, Decl(deepComparisons.ts, 11, 1))
DvarArgConstructorMemberParameter.symbols2 class Foo1 {
3 >Foo1 : Symbol(Foo1, Decl(varArgConstructorMemberParameter.ts, 0, 0))
DneverAsDiscriminantType(strict=false).types2 type Foo1 = { kind: 'a', a: number } | { kind: 'b' } | { kind: never };
3 >Foo1 : { kind: 'a'; a: number; } | { kind: 'b'; } | { kind: never; }
9 function f1(foo: Foo1) {
10 >f1 : (foo: Foo1) => void
11 >foo : Foo1
16 >foo : Foo1
DneverAsDiscriminantType(strict=true).types2 type Foo1 = { kind: 'a', a: number } | { kind: 'b' } | { kind: never };
3 >Foo1 : { kind: 'a'; a: number; } | { kind: 'b'; } | { kind: never; }
9 function f1(foo: Foo1) {
10 >f1 : (foo: Foo1) => void
11 >foo : Foo1
16 >foo : Foo1
DpropertyIdentityWithPrivacyMismatch.errors.txt2 …able declarations must have the same type. Variable 'y' must be of type 'Foo1', but here has type…
14 class Foo1 {
20 var y: Foo1;
23 …able declarations must have the same type. Variable 'y' must be of type 'Foo1', but here has type…
DcollisionThisExpressionAndParameter.js34 class Foo1 { class
134 var Foo1 = /** @class */ (function () {
135 function Foo1(_this) { class in Foo1
143 return Foo1;
/third_party/typescript/tests/cases/compiler/
DvarianceMeasurement.ts6 interface Foo1<T> { interface
8 y: Foo1<(arg: T) => void>;
11 declare const f10: Foo1<string>;
12 const f11: Foo1<'a'> = f10;
13 const f12: Foo1<unknown> = f10;
DdeepComparisons.ts14 type Foo1<T> = { x: Foo2<T> }; alias
15 type Foo2<T> = { x: Foo1<T> };
18 let x: Foo1<U> = 0 as any as Bar<U>; // No error!
/third_party/skia/third_party/externals/spirv-cross/reference/shaders-msl-no-opt/components/
Dvertex-input-component.vert21 float Foo1 = {};
23 Foo1 = in.m_location_0.w;
24 out.gl_Position = float4(Foo3, Foo1);
25 out.Foo = Foo3 + float3(Foo1);
/third_party/skia/third_party/externals/spirv-cross/shaders-msl-no-opt/components/
Dvertex-input-component.vert4 layout(location = 0, component = 3) in float Foo1;
9 gl_Position = vec4(Foo3, Foo1);
10 Foo = Foo3 + Foo1;

1234