/third_party/typescript/tests/baselines/reference/ |
D | logicalAssignment2(target=esnext).types | 4 >foo : { bar(): { baz: 0 | 1 | 42 | undefined | '';}; baz: 0 | 1 | 42 | undefined | ''; } 7 >bar : () => { baz: 0 | 1 | 42 | undefined | '';} 9 baz: 0 | 1 | 42 | undefined | '' 10 >baz : "" | 0 | 1 | 42 | undefined 12 baz: 0 | 1 | 42 | undefined | '' 13 >baz : "" | 0 | 1 | 42 | undefined 15 baz: 0 | 1 | 42 | undefined | '' 16 >baz : "" | 0 | 1 | 42 | undefined 31 a.baz &&= result.baz 32 >a.baz &&= result.baz : "" | 0 | 1 | 42 | undefined [all …]
|
D | logicalAssignment2(target=es2020).types | 4 >foo : { bar(): { baz: 0 | 1 | 42 | undefined | '';}; baz: 0 | 1 | 42 | undefined | ''; } 7 >bar : () => { baz: 0 | 1 | 42 | undefined | '';} 9 baz: 0 | 1 | 42 | undefined | '' 10 >baz : "" | 0 | 1 | 42 | undefined 12 baz: 0 | 1 | 42 | undefined | '' 13 >baz : "" | 0 | 1 | 42 | undefined 15 baz: 0 | 1 | 42 | undefined | '' 16 >baz : "" | 0 | 1 | 42 | undefined 31 a.baz &&= result.baz 32 >a.baz &&= result.baz : "" | 0 | 1 | 42 | undefined [all …]
|
D | logicalAssignment2(target=es2015).types | 4 >foo : { bar(): { baz: 0 | 1 | 42 | undefined | '';}; baz: 0 | 1 | 42 | undefined | ''; } 7 >bar : () => { baz: 0 | 1 | 42 | undefined | '';} 9 baz: 0 | 1 | 42 | undefined | '' 10 >baz : "" | 0 | 1 | 42 | undefined 12 baz: 0 | 1 | 42 | undefined | '' 13 >baz : "" | 0 | 1 | 42 | undefined 15 baz: 0 | 1 | 42 | undefined | '' 16 >baz : "" | 0 | 1 | 42 | undefined 31 a.baz &&= result.baz 32 >a.baz &&= result.baz : "" | 0 | 1 | 42 | undefined [all …]
|
D | genericCallWithObjectLiteralArgs.types | 2 function foo<T>(x: { bar: T; baz: T }) { 3 >foo : <T>(x: { bar: T; baz: T;}) => { bar: T; baz: T; } 4 >x : { bar: T; baz: T; } 6 >baz : T 9 >x : { bar: T; baz: T; } 12 var r = foo({ bar: 1, baz: '' }); // error 13 >r : { bar: number; baz: number; } 14 >foo({ bar: 1, baz: '' }) : { bar: number; baz: number; } 15 >foo : <T>(x: { bar: T; baz: T; }) => { bar: T; baz: T; } 16 >{ bar: 1, baz: '' } : { bar: number; baz: string; } [all …]
|
D | stringLiteralsWithSwitchStatements03.types | 17 case randBool() ? "foo" : "baz": 18 >randBool() ? "foo" : "baz" : "foo" | "baz" 22 >"baz" : "baz" 25 case (randBool() ? ("bar") : "baz" ? "bar" : "baz"): 26 >(randBool() ? ("bar") : "baz" ? "bar" : "baz") : "bar" | "baz" 27 >randBool() ? ("bar") : "baz" ? "bar" : "baz" : "bar" | "baz" 32 >"baz" ? "bar" : "baz" : "bar" | "baz" 33 >"baz" : "baz" 35 >"baz" : "baz" 44 case (x, y, ("baz")): [all …]
|
D | logicalAssignment2(target=es2020).js | 5 baz: 0 | 1 | 42 | undefined | '' 7 baz: 0 | 1 | 42 | undefined | '' 9 baz: 0 | 1 | 42 | undefined | '' 17 a.baz &&= result.baz 18 b.baz ||= result.baz 19 c.baz ??= result.baz 21 a.foo["baz"] &&= result.foo.baz 22 b.foo["baz"] ||= result.foo.baz 23 c.foo["baz"] ??= result.foo.baz 25 a.foo.bar().baz &&= result.foo.bar().baz [all …]
|
D | logicalAssignment2(target=es2015).js | 5 baz: 0 | 1 | 42 | undefined | '' 7 baz: 0 | 1 | 42 | undefined | '' 9 baz: 0 | 1 | 42 | undefined | '' 17 a.baz &&= result.baz 18 b.baz ||= result.baz 19 c.baz ??= result.baz 21 a.foo["baz"] &&= result.foo.baz 22 b.foo["baz"] ||= result.foo.baz 23 c.foo["baz"] ??= result.foo.baz 25 a.foo.bar().baz &&= result.foo.bar().baz [all …]
|
D | logicalAssignment2(target=es2015).symbols | 11 baz: 0 | 1 | 42 | undefined | '' 12 >baz : Symbol(baz, Decl(logicalAssignment2.ts, 2, 16)) 14 baz: 0 | 1 | 42 | undefined | '' 15 >baz : Symbol(baz, Decl(logicalAssignment2.ts, 4, 9)) 17 baz: 0 | 1 | 42 | undefined | '' 18 >baz : Symbol(A.baz, Decl(logicalAssignment2.ts, 6, 5)) 37 a.baz &&= result.baz 38 >a.baz : Symbol(A.baz, Decl(logicalAssignment2.ts, 6, 5)) 40 >baz : Symbol(A.baz, Decl(logicalAssignment2.ts, 6, 5)) 41 >result.baz : Symbol(A.baz, Decl(logicalAssignment2.ts, 6, 5)) [all …]
|
D | logicalAssignment2(target=esnext).symbols | 11 baz: 0 | 1 | 42 | undefined | '' 12 >baz : Symbol(baz, Decl(logicalAssignment2.ts, 2, 16)) 14 baz: 0 | 1 | 42 | undefined | '' 15 >baz : Symbol(baz, Decl(logicalAssignment2.ts, 4, 9)) 17 baz: 0 | 1 | 42 | undefined | '' 18 >baz : Symbol(A.baz, Decl(logicalAssignment2.ts, 6, 5)) 37 a.baz &&= result.baz 38 >a.baz : Symbol(A.baz, Decl(logicalAssignment2.ts, 6, 5)) 40 >baz : Symbol(A.baz, Decl(logicalAssignment2.ts, 6, 5)) 41 >result.baz : Symbol(A.baz, Decl(logicalAssignment2.ts, 6, 5)) [all …]
|
D | logicalAssignment2(target=es2020).symbols | 11 baz: 0 | 1 | 42 | undefined | '' 12 >baz : Symbol(baz, Decl(logicalAssignment2.ts, 2, 16)) 14 baz: 0 | 1 | 42 | undefined | '' 15 >baz : Symbol(baz, Decl(logicalAssignment2.ts, 4, 9)) 17 baz: 0 | 1 | 42 | undefined | '' 18 >baz : Symbol(A.baz, Decl(logicalAssignment2.ts, 6, 5)) 37 a.baz &&= result.baz 38 >a.baz : Symbol(A.baz, Decl(logicalAssignment2.ts, 6, 5)) 40 >baz : Symbol(A.baz, Decl(logicalAssignment2.ts, 6, 5)) 41 >result.baz : Symbol(A.baz, Decl(logicalAssignment2.ts, 6, 5)) [all …]
|
D | logicalAssignment2(target=esnext).js | 5 baz: 0 | 1 | 42 | undefined | '' 7 baz: 0 | 1 | 42 | undefined | '' 9 baz: 0 | 1 | 42 | undefined | '' 17 a.baz &&= result.baz 18 b.baz ||= result.baz 19 c.baz ??= result.baz 21 a.foo["baz"] &&= result.foo.baz 22 b.foo["baz"] ||= result.foo.baz 23 c.foo["baz"] ??= result.foo.baz 25 a.foo.bar().baz &&= result.foo.bar().baz [all …]
|
D | logicalAssignment3(target=es2020).types | 3 baz: 0 | 1 | 42 | undefined | '' 4 >baz : "" | 0 | 1 | 42 | undefined 19 (a.baz) &&= result.baz; 20 >(a.baz) &&= result.baz : "" | 0 | 1 | 42 | undefined 21 >(a.baz) : "" | 0 | 1 | 42 | undefined 22 >a.baz : "" | 0 | 1 | 42 | undefined 24 >baz : "" | 0 | 1 | 42 | undefined 25 >result.baz : "" | 0 | 1 | 42 | undefined 27 >baz : "" | 0 | 1 | 42 | undefined 29 (b.baz) ||= result.baz; [all …]
|
D | logicalAssignment3(target=esnext).types | 3 baz: 0 | 1 | 42 | undefined | '' 4 >baz : "" | 0 | 1 | 42 | undefined 19 (a.baz) &&= result.baz; 20 >(a.baz) &&= result.baz : "" | 0 | 1 | 42 | undefined 21 >(a.baz) : "" | 0 | 1 | 42 | undefined 22 >a.baz : "" | 0 | 1 | 42 | undefined 24 >baz : "" | 0 | 1 | 42 | undefined 25 >result.baz : "" | 0 | 1 | 42 | undefined 27 >baz : "" | 0 | 1 | 42 | undefined 29 (b.baz) ||= result.baz; [all …]
|
D | logicalAssignment3(target=es2015).types | 3 baz: 0 | 1 | 42 | undefined | '' 4 >baz : "" | 0 | 1 | 42 | undefined 19 (a.baz) &&= result.baz; 20 >(a.baz) &&= result.baz : "" | 0 | 1 | 42 | undefined 21 >(a.baz) : "" | 0 | 1 | 42 | undefined 22 >a.baz : "" | 0 | 1 | 42 | undefined 24 >baz : "" | 0 | 1 | 42 | undefined 25 >result.baz : "" | 0 | 1 | 42 | undefined 27 >baz : "" | 0 | 1 | 42 | undefined 29 (b.baz) ||= result.baz; [all …]
|
D | logicalAssignment3(target=es2015).symbols | 5 baz: 0 | 1 | 42 | undefined | '' 6 >baz : Symbol(A.baz, Decl(logicalAssignment3.ts, 0, 13)) 25 (a.baz) &&= result.baz; 26 >a.baz : Symbol(A.baz, Decl(logicalAssignment3.ts, 0, 13)) 28 >baz : Symbol(A.baz, Decl(logicalAssignment3.ts, 0, 13)) 29 >result.baz : Symbol(A.baz, Decl(logicalAssignment3.ts, 0, 13)) 31 >baz : Symbol(A.baz, Decl(logicalAssignment3.ts, 0, 13)) 33 (b.baz) ||= result.baz; 34 >b.baz : Symbol(A.baz, Decl(logicalAssignment3.ts, 0, 13)) 36 >baz : Symbol(A.baz, Decl(logicalAssignment3.ts, 0, 13)) [all …]
|
D | logicalAssignment3(target=es2020).symbols | 5 baz: 0 | 1 | 42 | undefined | '' 6 >baz : Symbol(A.baz, Decl(logicalAssignment3.ts, 0, 13)) 25 (a.baz) &&= result.baz; 26 >a.baz : Symbol(A.baz, Decl(logicalAssignment3.ts, 0, 13)) 28 >baz : Symbol(A.baz, Decl(logicalAssignment3.ts, 0, 13)) 29 >result.baz : Symbol(A.baz, Decl(logicalAssignment3.ts, 0, 13)) 31 >baz : Symbol(A.baz, Decl(logicalAssignment3.ts, 0, 13)) 33 (b.baz) ||= result.baz; 34 >b.baz : Symbol(A.baz, Decl(logicalAssignment3.ts, 0, 13)) 36 >baz : Symbol(A.baz, Decl(logicalAssignment3.ts, 0, 13)) [all …]
|
D | logicalAssignment3(target=esnext).symbols | 5 baz: 0 | 1 | 42 | undefined | '' 6 >baz : Symbol(A.baz, Decl(logicalAssignment3.ts, 0, 13)) 25 (a.baz) &&= result.baz; 26 >a.baz : Symbol(A.baz, Decl(logicalAssignment3.ts, 0, 13)) 28 >baz : Symbol(A.baz, Decl(logicalAssignment3.ts, 0, 13)) 29 >result.baz : Symbol(A.baz, Decl(logicalAssignment3.ts, 0, 13)) 31 >baz : Symbol(A.baz, Decl(logicalAssignment3.ts, 0, 13)) 33 (b.baz) ||= result.baz; 34 >b.baz : Symbol(A.baz, Decl(logicalAssignment3.ts, 0, 13)) 36 >baz : Symbol(A.baz, Decl(logicalAssignment3.ts, 0, 13)) [all …]
|
D | stringLiteralsWithSwitchStatements04.types | 26 case x, "baz": 27 >x, "baz" : "baz" 29 >"baz" : "baz" 32 case "baz", x: 33 >"baz", x : "foo" 34 >"baz" : "baz" 38 case "baz" && "bar": 39 >"baz" && "bar" : "" | "bar" 40 >"baz" : "baz" 44 case "baz" && ("foo" || "bar"): [all …]
|
D | logicalAssignment3(target=es2020).js | 3 baz: 0 | 1 | 42 | undefined | '' 11 (a.baz) &&= result.baz; 12 (b.baz) ||= result.baz; 13 (c.baz) ??= result.baz; 19 a.baz && (a.baz = result.baz); 20 b.baz || (b.baz = result.baz); 21 c.baz ?? (c.baz = result.baz);
|
D | logicalAssignment3(target=es2015).js | 3 baz: 0 | 1 | 42 | undefined | '' 11 (a.baz) &&= result.baz; 12 (b.baz) ||= result.baz; 13 (c.baz) ??= result.baz; 20 a.baz && (a.baz = result.baz); 21 b.baz || (b.baz = result.baz); 22 (_a = c.baz) !== null && _a !== void 0 ? _a : (c.baz = result.baz);
|
D | typeFromPropertyAssignment39.types | 6 foo["baz"] = {}; 7 >foo["baz"] = {} : typeof foo.baz 8 >foo["baz"] : typeof foo.baz 10 >"baz" : "baz" 13 foo["baz"]["blah"] = 3; 14 >foo["baz"]["blah"] = 3 : 3 15 >foo["baz"]["blah"] : number 16 >foo["baz"] : typeof foo.baz 18 >"baz" : "baz"
|
D | logicalAssignment3(target=esnext).js | 3 baz: 0 | 1 | 42 | undefined | '' 11 (a.baz) &&= result.baz; 12 (b.baz) ||= result.baz; 13 (c.baz) ??= result.baz; 19 (a.baz) &&= result.baz; 20 (b.baz) ||= result.baz; 21 (c.baz) ??= result.baz;
|
D | classOrderBug.symbols | 5 public baz: foo; 6 >baz : Symbol(bar.baz, Decl(classOrderBug.ts, 0, 11)) 11 this.baz = new foo(); 12 >this.baz : Symbol(bar.baz, Decl(classOrderBug.ts, 0, 11)) 14 >baz : Symbol(bar.baz, Decl(classOrderBug.ts, 0, 11)) 21 class baz {} 22 >baz : Symbol(baz, Decl(classOrderBug.ts, 8, 1)) 24 class foo extends baz {} 26 >baz : Symbol(baz, Decl(classOrderBug.ts, 8, 1))
|
/third_party/typescript/tests/cases/conformance/esnext/logicalAssignment/ |
D | logicalAssignment2.ts | 6 baz: 0 | 1 | 42 | undefined | '' 8 baz: 0 | 1 | 42 | undefined | '' 10 baz: 0 | 1 | 42 | undefined | '' property 18 a.baz &&= result.baz 19 b.baz ||= result.baz 20 c.baz ??= result.baz 22 a.foo["baz"] &&= result.foo.baz 23 b.foo["baz"] ||= result.foo.baz 24 c.foo["baz"] ??= result.foo.baz 26 a.foo.bar().baz &&= result.foo.bar().baz [all …]
|
/third_party/skia/third_party/externals/spirv-cross/reference/shaders-msl-no-opt/comp/ |
D | basic.dynamic-buffer.msl2.invalid.comp | 34 device Baz* baz [[id(0)]][3][3][2]; 40 device Baz* baz[3][3][2] = 44 … (device Baz* )((device char* )spvDescriptorSet1.baz[0][0][0] + spvDynamicOffsets[1]), 45 … (device Baz* )((device char* )spvDescriptorSet1.baz[0][0][1] + spvDynamicOffsets[2]), 48 … (device Baz* )((device char* )spvDescriptorSet1.baz[0][1][0] + spvDynamicOffsets[3]), 49 … (device Baz* )((device char* )spvDescriptorSet1.baz[0][1][1] + spvDynamicOffsets[4]), 52 … (device Baz* )((device char* )spvDescriptorSet1.baz[0][2][0] + spvDynamicOffsets[5]), 53 … (device Baz* )((device char* )spvDescriptorSet1.baz[0][2][1] + spvDynamicOffsets[6]), 58 … (device Baz* )((device char* )spvDescriptorSet1.baz[1][0][0] + spvDynamicOffsets[7]), 59 … (device Baz* )((device char* )spvDescriptorSet1.baz[1][0][1] + spvDynamicOffsets[8]), [all …]
|