/third_party/typescript/tests/baselines/reference/ |
D | typedefCrossModule2.types | 3 >mod : { Baz: typeof Baz; Bar: typeof mod.Bar; Quid: 2; } | { Quack: number; Bar: typeof mod.Bar; Q… 4 >require('./mod1.js') : { Baz: typeof Baz; Bar: typeof mod.Bar; Quid: 2; } | { Quack: number; Bar: … 8 /** @type {import("./mod1.js").Baz} */ 12 /** @type {mod.Baz} */ 16 var bbb = new mod.Baz(); 18 >new mod.Baz() : any 19 >mod.Baz : any 20 >mod : { Baz: typeof Baz; Bar: typeof mod.Bar; Quid: 2; } | { Quack: number; Bar: typeof mod.Bar; Q… 21 >Baz : any 34 >exports : { Baz: typeof Baz; Bar: typeof Bar; Quid: 2; } | { Quack: number; Bar: typeof Bar; Quid:… [all …]
|
D | generatorTypeCheck25.types | 11 class Baz { z: number } 12 >Baz : Baz 17 … yield; yield new Bar; yield new Baz; yield *[new Bar]; yield *[new Baz];} : () => Gen… 27 yield new Baz; 28 >yield new Baz : undefined 29 >new Baz : Baz 30 >Baz : typeof Baz 38 yield *[new Baz]; 39 >yield *[new Baz] : any 40 >[new Baz] : Baz[] [all …]
|
D | generatorTypeCheck22.types | 11 class Baz { z: number } 12 >Baz : Baz 16 >g3 : () => Generator<Bar | Baz, void, undefined> 26 yield new Baz; 27 >yield new Baz : any 28 >new Baz : Baz 29 >Baz : typeof Baz 37 yield *[new Baz]; 38 >yield *[new Baz] : any 39 >[new Baz] : Baz[] [all …]
|
D | generatorTypeCheck23.types | 11 class Baz { z: number } 12 >Baz : Baz 16 >g3 : () => Generator<Foo | Baz, void, undefined> 31 yield new Baz; 32 >yield new Baz : any 33 >new Baz : Baz 34 >Baz : typeof Baz 42 yield *[new Baz]; 43 >yield *[new Baz] : any 44 >[new Baz] : Baz[] [all …]
|
D | generatorTypeCheck24.types | 11 class Baz { z: number } 12 >Baz : Baz 16 >g3 : () => Generator<Foo | Baz, void, undefined> 32 yield new Baz; 33 >yield new Baz : any 34 >new Baz : Baz 35 >Baz : typeof Baz 43 yield *[new Baz]; 44 >yield *[new Baz] : any 45 >[new Baz] : Baz[] [all …]
|
D | classConstructorAccessibility3.types | 16 class Baz { 17 >Baz : Baz 40 a = Baz; // error Baz is protected 41 >a = Baz : typeof Baz 43 >Baz : typeof Baz 51 let b = Baz; 52 >b : typeof Baz 53 >Baz : typeof Baz 57 >b : typeof Baz 62 >b : typeof Baz [all …]
|
D | generatorTypeCheck54.types | 6 class Baz { z: number } 7 >Baz : Baz 11 >g : () => Generator<Foo | Baz, void, undefined> 19 yield* [new Baz]; 20 >yield* [new Baz] : any 21 >[new Baz] : Baz[] 22 >new Baz : Baz 23 >Baz : typeof Baz
|
D | generatorTypeCheck53.types | 6 class Baz { z: number } 7 >Baz : Baz 11 >g : () => Generator<Foo | Baz, void, undefined> 18 yield* [new Baz]; 19 >yield* [new Baz] : any 20 >[new Baz] : Baz[] 21 >new Baz : Baz 22 >Baz : typeof Baz
|
D | generatorTypeCheck20.types | 6 class Baz { z: number } 7 >Baz : Baz 16 yield * [new Baz]; 17 >yield * [new Baz] : any 18 >[new Baz] : Baz[] 19 >new Baz : Baz 20 >Baz : typeof Baz
|
D | moduleCodegenTest4.js | 2 export module Baz { export var x = "hello"; } 4 Baz.x = "goodbye"; 10 exports.Baz = void 0; 11 var Baz; variable 12 (function (Baz) { argument 13 Baz.x = "hello"; 14 })(Baz = exports.Baz || (exports.Baz = {})); 15 Baz.x = "goodbye";
|
D | generatorTypeCheck25.errors.txt | 1 …ns/generatorTypeCheck25.ts(4,5): error TS2322: Type '() => Generator<Bar | Baz, void, undefined>' … 2 …Call signature return types 'Generator<Bar | Baz, void, undefined>' and 'Iterable<Foo>' are incomp… 4 Type 'IteratorResult<Bar | Baz, void>' is not assignable to type 'IteratorResult<Foo, any>'. 5 Type 'IteratorYieldResult<Bar | Baz>' is not assignable to type 'IteratorResult<Foo, any>'. 6 … Type 'IteratorYieldResult<Bar | Baz>' is not assignable to type 'IteratorYieldResult<Foo>'. 7 Type 'Bar | Baz' is not assignable to type 'Foo'. 8 Property 'x' is missing in type 'Baz' but required in type 'Foo'. 14 class Baz { z: number } 17 !!! error TS2322: Type '() => Generator<Bar | Baz, void, undefined>' is not assignable to type '() … 18 !!! error TS2322: Call signature return types 'Generator<Bar | Baz, void, undefined>' and 'Iterab… [all …]
|
D | declFileGenericClassWithGenericExtendedClass.symbols | 5 baz: Baz; 7 >Baz : Symbol(Baz, Decl(declFileGenericClassWithGenericExtendedClass.ts, 7, 1)) 28 class Baz implements IBar<Baz> { 29 >Baz : Symbol(Baz, Decl(declFileGenericClassWithGenericExtendedClass.ts, 7, 1)) 31 >Baz : Symbol(Baz, Decl(declFileGenericClassWithGenericExtendedClass.ts, 7, 1)) 33 derived: Derived<Baz>; 34 >derived : Symbol(Baz.derived, Decl(declFileGenericClassWithGenericExtendedClass.ts, 8, 32)) 36 >Baz : Symbol(Baz, Decl(declFileGenericClassWithGenericExtendedClass.ts, 7, 1))
|
D | classConstructorAccessibility3.js | 10 class Baz { class 21 a = Baz; // error Baz is protected 25 let b = Baz; 34 c = Baz; 49 var Baz = /** @class */ (function () { 50 function Baz(x) { class in Baz 53 return Baz; 64 a = Baz; // error Baz is protected 67 var b = Baz; 75 c = Baz; [all …]
|
D | generatorTypeCheck52.types | 6 class Baz { z: number } 7 >Baz : Baz 11 >g : () => Generator<Foo | Baz, void, unknown> 18 yield new Baz; 19 >yield new Baz : any 20 >new Baz : Baz 21 >Baz : typeof Baz
|
D | declFileGenericClassWithGenericExtendedClass.js | 3 baz: Baz; 10 class Baz implements IBar<Baz> { class 11 derived: Derived<Baz>; field in Baz 43 var Baz = /** @class */ (function () { 44 function Baz() { class in Baz 46 return Baz; 52 baz: Baz; 61 declare class Baz implements IBar<Baz> { 62 derived: Derived<Baz>;
|
D | unionTypeErrorMessageTypeRefs01.errors.txt | 1 …Refs01.ts(25,1): error TS2322: Type 'A<Foo>' is not assignable to type 'A<Bar> | B<Baz> | C<Kwah>'. 4 …Refs01.ts(26,1): error TS2322: Type 'B<Foo>' is not assignable to type 'A<Bar> | B<Baz> | C<Kwah>'. 5 Type 'B<Foo>' is not assignable to type 'B<Baz>'. 6 Property 'baz' is missing in type 'Foo' but required in type 'Baz'. 7 …Refs01.ts(27,1): error TS2322: Type 'C<Foo>' is not assignable to type 'A<Bar> | B<Baz> | C<Kwah>'. 10 …Refs01.ts(48,1): error TS2322: Type 'X<Foo>' is not assignable to type 'X<Bar> | Y<Baz> | Z<Kwah>'. 13 …Refs01.ts(49,1): error TS2322: Type 'Y<Foo>' is not assignable to type 'X<Bar> | Y<Baz> | Z<Kwah>'. 14 Type 'Y<Foo>' is not assignable to type 'Y<Baz>'. 15 Type 'Foo' is not assignable to type 'Baz'. 16 …Refs01.ts(50,1): error TS2322: Type 'Z<Foo>' is not assignable to type 'X<Bar> | Y<Baz> | Z<Kwah>'. [all …]
|
D | moduleCodeGenTest3.symbols | 2 module Baz { export var x = "hello"; } 3 >Baz : Symbol(Baz, Decl(moduleCodeGenTest3.ts, 0, 0)) 6 Baz.x = "goodbye"; 7 >Baz.x : Symbol(Baz.x, Decl(moduleCodeGenTest3.ts, 0, 23)) 8 >Baz : Symbol(Baz, Decl(moduleCodeGenTest3.ts, 0, 0)) 9 >x : Symbol(Baz.x, Decl(moduleCodeGenTest3.ts, 0, 23))
|
D | generatorTypeCheck18.types | 6 class Baz { z: number } 7 >Baz : Baz 16 yield new Baz; 17 >yield new Baz : undefined 18 >new Baz : Baz 19 >Baz : typeof Baz
|
D | moduleCodegenTest4.symbols | 2 export module Baz { export var x = "hello"; } 3 >Baz : Symbol(Baz, Decl(moduleCodegenTest4.ts, 0, 0)) 6 Baz.x = "goodbye"; 7 >Baz.x : Symbol(Baz.x, Decl(moduleCodegenTest4.ts, 0, 30)) 8 >Baz : Symbol(Baz, Decl(moduleCodegenTest4.ts, 0, 0)) 9 >x : Symbol(Baz.x, Decl(moduleCodegenTest4.ts, 0, 30))
|
D | moduleCodeGenTest3.js | 2 module Baz { export var x = "hello"; } 4 Baz.x = "goodbye"; 7 var Baz; variable 8 (function (Baz) { argument 9 Baz.x = "hello"; 10 })(Baz || (Baz = {})); 11 Baz.x = "goodbye";
|
D | classConstructorAccessibility3.symbols | 16 class Baz { 17 >Baz : Symbol(Baz, Decl(classConstructorAccessibility3.ts, 6, 1)) 20 >x : Symbol(Baz.x, Decl(classConstructorAccessibility3.ts, 9, 26)) 39 a = Baz; // error Baz is protected 41 >Baz : Symbol(Baz, Decl(classConstructorAccessibility3.ts, 6, 1)) 48 let b = Baz; 50 >Baz : Symbol(Baz, Decl(classConstructorAccessibility3.ts, 6, 1)) 77 c = Baz; 79 >Baz : Symbol(Baz, Decl(classConstructorAccessibility3.ts, 6, 1))
|
D | generatorTypeCheck22.symbols | 11 class Baz { z: number } 12 >Baz : Symbol(Baz, Decl(generatorTypeCheck22.ts, 1, 35)) 13 >z : Symbol(Baz.z, Decl(generatorTypeCheck22.ts, 2, 11)) 22 yield new Baz; 23 >Baz : Symbol(Baz, Decl(generatorTypeCheck22.ts, 1, 35)) 28 yield *[new Baz]; 29 >Baz : Symbol(Baz, Decl(generatorTypeCheck22.ts, 1, 35))
|
/third_party/skia/third_party/externals/spirv-cross/reference/shaders-msl-no-opt/comp/ |
D | basic.dynamic-buffer.msl2.invalid.comp | 6 struct Baz 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]), [all …]
|
/third_party/rust/crates/bindgen/bindgen-tests/tests/expectations/tests/libclang-9/ |
D | objc_inheritance.rs | 66 pub struct Baz(pub id); struct 67 impl std::ops::Deref for Baz { implementation 73 unsafe impl objc::Message for Baz {} implementation 74 impl Baz { impl 76 Self(unsafe { msg_send!(class!(Baz), alloc) }) in alloc() 79 impl IBar for Baz {} implementation 80 impl From<Baz> for Bar { 81 fn from(child: Baz) -> Bar { in from() 85 impl std::convert::TryFrom<Bar> for Baz { implementation 87 fn try_from(parent: Bar) -> Result<Baz, Self::Error> { in try_from() argument [all …]
|
/third_party/rust/crates/bindgen/bindgen-tests/tests/expectations/tests/libclang-5/ |
D | objc_inheritance.rs | 66 pub struct Baz(pub id); struct 67 impl std::ops::Deref for Baz { implementation 73 unsafe impl objc::Message for Baz {} implementation 74 impl Baz { impl 76 Self(unsafe { msg_send!(class!(Baz), alloc) }) in alloc() 79 impl IBar for Baz {} implementation 80 impl From<Baz> for Bar { 81 fn from(child: Baz) -> Bar { in from() 85 impl std::convert::TryFrom<Bar> for Baz { implementation 87 fn try_from(parent: Bar) -> Result<Baz, Self::Error> { in try_from() argument [all …]
|