/third_party/typescript/tests/baselines/reference/ |
D | binaryIntegerLiteral.js | 15 var obj2 = { variable 32 obj2[0B11010]; // string 33 obj2[26]; // string 34 obj2["26"]; // string 35 obj2["0B11010"]; // any 36 obj2["a"]; // number 37 obj2["b"]; // number 38 obj2["bin2"]; // number 39 obj2[9.671406556917009e+24]; // boolean 40 obj2["9.671406556917009e+24"]; // boolean [all …]
|
D | binaryIntegerLiteralES6.js | 15 var obj2 = { variable 32 obj2[0B11010]; // string 33 obj2[26]; // string 34 obj2["26"]; // string 35 obj2["0B11010"]; // any 36 obj2["a"]; // number 37 obj2["b"]; // number 38 obj2["bin2"]; // number 39 obj2[9.671406556917009e+24]; // boolean 40 obj2["9.671406556917009e+24"]; // boolean [all …]
|
D | octalIntegerLiteral.js | 15 var obj2 = { variable 32 obj2[0O45436]; // string 33 obj2["0O45436"]; // any 34 obj2["19230"]; // string 35 obj2[19230]; // string 36 obj2["a"]; // number 37 obj2["b"]; // number 38 obj2["oct2"]; // number 39 obj2[5.462437423415177e+244]; // boolean 40 obj2["5.462437423415177e+244"]; // boolean [all …]
|
D | octalIntegerLiteralES6.js | 15 var obj2 = { variable 32 obj2[0O45436]; // string 33 obj2["0O45436"]; // any 34 obj2["19230"]; // string 35 obj2[19230]; // string 36 obj2["a"]; // number 37 obj2["b"]; // number 38 obj2["oct2"]; // number 39 obj2[5.462437423415177e+244]; // boolean 40 obj2["5.462437423415177e+244"]; // boolean [all …]
|
D | binaryIntegerLiteralES6.symbols | 34 var obj2 = { 35 >obj2 : Symbol(obj2, Decl(binaryIntegerLiteralES6.ts, 13, 3)) 85 obj2[0B11010]; // string 86 >obj2 : Symbol(obj2, Decl(binaryIntegerLiteralES6.ts, 13, 3)) 89 obj2[26]; // string 90 >obj2 : Symbol(obj2, Decl(binaryIntegerLiteralES6.ts, 13, 3)) 93 obj2["26"]; // string 94 >obj2 : Symbol(obj2, Decl(binaryIntegerLiteralES6.ts, 13, 3)) 97 obj2["0B11010"]; // any 98 >obj2 : Symbol(obj2, Decl(binaryIntegerLiteralES6.ts, 13, 3)) [all …]
|
D | binaryIntegerLiteral.symbols | 34 var obj2 = { 35 >obj2 : Symbol(obj2, Decl(binaryIntegerLiteral.ts, 13, 3)) 85 obj2[0B11010]; // string 86 >obj2 : Symbol(obj2, Decl(binaryIntegerLiteral.ts, 13, 3)) 89 obj2[26]; // string 90 >obj2 : Symbol(obj2, Decl(binaryIntegerLiteral.ts, 13, 3)) 93 obj2["26"]; // string 94 >obj2 : Symbol(obj2, Decl(binaryIntegerLiteral.ts, 13, 3)) 97 obj2["0B11010"]; // any 98 >obj2 : Symbol(obj2, Decl(binaryIntegerLiteral.ts, 13, 3)) [all …]
|
D | octalIntegerLiteralES6.symbols | 34 var obj2 = { 35 >obj2 : Symbol(obj2, Decl(octalIntegerLiteralES6.ts, 13, 3)) 85 obj2[0O45436]; // string 86 >obj2 : Symbol(obj2, Decl(octalIntegerLiteralES6.ts, 13, 3)) 89 obj2["0O45436"]; // any 90 >obj2 : Symbol(obj2, Decl(octalIntegerLiteralES6.ts, 13, 3)) 92 obj2["19230"]; // string 93 >obj2 : Symbol(obj2, Decl(octalIntegerLiteralES6.ts, 13, 3)) 96 obj2[19230]; // string 97 >obj2 : Symbol(obj2, Decl(octalIntegerLiteralES6.ts, 13, 3)) [all …]
|
D | octalIntegerLiteral.symbols | 34 var obj2 = { 35 >obj2 : Symbol(obj2, Decl(octalIntegerLiteral.ts, 13, 3)) 85 obj2[0O45436]; // string 86 >obj2 : Symbol(obj2, Decl(octalIntegerLiteral.ts, 13, 3)) 89 obj2["0O45436"]; // any 90 >obj2 : Symbol(obj2, Decl(octalIntegerLiteral.ts, 13, 3)) 92 obj2["19230"]; // string 93 >obj2 : Symbol(obj2, Decl(octalIntegerLiteral.ts, 13, 3)) 96 obj2[19230]; // string 97 >obj2 : Symbol(obj2, Decl(octalIntegerLiteral.ts, 13, 3)) [all …]
|
D | binaryIntegerLiteralES6.types | 42 var obj2 = { 43 >obj2 : { 26: string; a: number; bin2: number; b: number; 9.671406556917009e+24: boolean; } 106 obj2[0B11010]; // string 107 >obj2[0B11010] : string 108 >obj2 : { 26: string; a: number; bin2: number; b: number; 9.671406556917009e+24: boolean; } 111 obj2[26]; // string 112 >obj2[26] : string 113 >obj2 : { 26: string; a: number; bin2: number; b: number; 9.671406556917009e+24: boolean; } 116 obj2["26"]; // string 117 >obj2["26"] : string [all …]
|
D | binaryIntegerLiteral.types | 42 var obj2 = { 43 >obj2 : { 26: string; a: number; bin2: number; b: number; 9.671406556917009e+24: boolean; } 106 obj2[0B11010]; // string 107 >obj2[0B11010] : string 108 >obj2 : { 26: string; a: number; bin2: number; b: number; 9.671406556917009e+24: boolean; } 111 obj2[26]; // string 112 >obj2[26] : string 113 >obj2 : { 26: string; a: number; bin2: number; b: number; 9.671406556917009e+24: boolean; } 116 obj2["26"]; // string 117 >obj2["26"] : string [all …]
|
D | octalIntegerLiteralES6.types | 42 var obj2 = { 43 >obj2 : { 19230: string; a: number; b: number; oct2: number; 5.462437423415177e+244: boolean; } 106 obj2[0O45436]; // string 107 >obj2[0O45436] : string 108 >obj2 : { 19230: string; a: number; b: number; oct2: number; 5.462437423415177e+244: boolean; } 111 obj2["0O45436"]; // any 112 >obj2["0O45436"] : error 113 >obj2 : { 19230: string; a: number; b: number; oct2: number; 5.462437423415177e+244: boolean; } 116 obj2["19230"]; // string 117 >obj2["19230"] : string [all …]
|
D | octalIntegerLiteral.types | 42 var obj2 = { 43 >obj2 : { 19230: string; a: number; b: number; oct2: number; 5.462437423415177e+244: boolean; } 106 obj2[0O45436]; // string 107 >obj2[0O45436] : string 108 >obj2 : { 19230: string; a: number; b: number; oct2: number; 5.462437423415177e+244: boolean; } 111 obj2["0O45436"]; // any 112 >obj2["0O45436"] : error 113 >obj2 : { 19230: string; a: number; b: number; oct2: number; 5.462437423415177e+244: boolean; } 116 obj2["19230"]; // string 117 >obj2["19230"] : string [all …]
|
D | tsxStatelessFunctionComponentOverload3.js | 8 let obj2: any; 13 const two3 = <ZeroThingOrTwoThing {...obj2} />; // it is just any so we allow it to pass through 14 const two4 = <ZeroThingOrTwoThing yy={1000} {...obj2} />; // it is just any so we allow it to pas… 15 const two5 = <ZeroThingOrTwoThing {...obj2} yy={1000} />; // it is just any so we allow it to pas… 24 const three3 = <ThreeThing {...obj2} y2={10} />; // it is just any so we allow it to pass through 27 var obj2; variable 31 var two3 = <ZeroThingOrTwoThing {...obj2}/>; // it is just any so we allow it to pass through 32 var two4 = <ZeroThingOrTwoThing yy={1000} {...obj2}/>; // it is just any so we allow it to pass thr… 33 var two5 = <ZeroThingOrTwoThing {...obj2} yy={1000}/>; // it is just any so we allow it to pass thr… 37 var three3 = <ThreeThing {...obj2} y2={10}/>; // it is just any so we allow it to pass through
|
D | contextualTypingOfObjectLiterals.symbols | 6 var obj2 = {x: ""}; 7 >obj2 : Symbol(obj2, Decl(contextualTypingOfObjectLiterals.ts, 1, 3)) 13 obj1 = obj2; // Error - indexer doesn't match 15 >obj2 : Symbol(obj2, Decl(contextualTypingOfObjectLiterals.ts, 1, 3)) 29 f(obj2); // Error - indexer doesn't match 31 >obj2 : Symbol(obj2, Decl(contextualTypingOfObjectLiterals.ts, 1, 3))
|
D | contextualTypingOfObjectLiterals.types | 6 var obj2 = {x: ""}; 7 >obj2 : { x: string; } 17 obj1 = obj2; // Error - indexer doesn't match 18 >obj1 = obj2 : { x: string; } 20 >obj2 : { x: string; } 37 f(obj2); // Error - indexer doesn't match 38 >f(obj2) : void 40 >obj2 : { x: string; }
|
D | tsxStatelessFunctionComponentOverload3.types | 18 let obj2: any; 19 >obj2 : any 35 const two3 = <ZeroThingOrTwoThing {...obj2} />; // it is just any so we allow it to pass through 37 ><ZeroThingOrTwoThing {...obj2} /> : JSX.Element 39 >obj2 : any 41 const two4 = <ZeroThingOrTwoThing yy={1000} {...obj2} />; // it is just any so we allow it to pas… 43 ><ZeroThingOrTwoThing yy={1000} {...obj2} /> : JSX.Element 47 >obj2 : any 49 const two5 = <ZeroThingOrTwoThing {...obj2} yy={1000} />; // it is just any so we allow it to pas… 51 ><ZeroThingOrTwoThing {...obj2} yy={1000} /> : JSX.Element [all …]
|
D | intersectionTypeInference.types | 2 function extend<T, U>(obj1: T, obj2: U): T & U { 3 >extend : <T, U>(obj1: T, obj2: U) => T & U 5 >obj2 : U 15 obj2 = result; 16 >obj2 = result : T & U 17 >obj2 : U 25 result = obj2; // Error 26 >result = obj2 : U 28 >obj2 : U 37 >extend : <T, U>(obj1: T, obj2: U) => T & U
|
D | tsxStatelessFunctionComponentOverload3.symbols | 23 let obj2: any; 24 >obj2 : Symbol(obj2, Decl(file.tsx, 6, 3)) 37 const two3 = <ZeroThingOrTwoThing {...obj2} />; // it is just any so we allow it to pass through 40 >obj2 : Symbol(obj2, Decl(file.tsx, 6, 3)) 42 const two4 = <ZeroThingOrTwoThing yy={1000} {...obj2} />; // it is just any so we allow it to pas… 46 >obj2 : Symbol(obj2, Decl(file.tsx, 6, 3)) 48 const two5 = <ZeroThingOrTwoThing {...obj2} yy={1000} />; // it is just any so we allow it to pas… 51 >obj2 : Symbol(obj2, Decl(file.tsx, 6, 3)) 91 const three3 = <ThreeThing {...obj2} y2={10} />; // it is just any so we allow it to pass through 94 >obj2 : Symbol(obj2, Decl(file.tsx, 6, 3))
|
/third_party/typescript/tests/ts_extra_tests/test_ts_cases/2.7/6_improved_type_inference_for_object_literals/ |
D | 6_improved_type_inference_for_object_literals.ts | 40 let obj2 = fun({ a: 1, b: 2 }, { a: "abc", b: "ABC" }, {}); variable 42 obj2.a = 5; 43 Assert.isNumber(obj2.a); 44 obj2.a = 'a'; 45 Assert.isString(obj2.a); 46 obj2.a = undefined; 47 Assert.isUndefined(obj2.a); 49 obj2.b = 6; 50 Assert.isNumber(obj2.b); 51 obj2.b = 'b'; [all …]
|
/third_party/typescript/tests/cases/conformance/es6/binaryAndOctalIntegerLiteral/ |
D | octalIntegerLiteralES6.ts | 15 var obj2 = { variable 32 obj2[0O45436]; // string 33 obj2["0O45436"]; // any 34 obj2["19230"]; // string 35 obj2[19230]; // string 36 obj2["a"]; // number 37 obj2["b"]; // number 38 obj2["oct2"]; // number 39 obj2[5.462437423415177e+244]; // boolean 40 obj2["5.462437423415177e+244"]; // boolean [all …]
|
D | binaryIntegerLiteral.ts | 15 var obj2 = { variable 32 obj2[0B11010]; // string 33 obj2[26]; // string 34 obj2["26"]; // string 35 obj2["0B11010"]; // any 36 obj2["a"]; // number 37 obj2["b"]; // number 38 obj2["bin2"]; // number 39 obj2[9.671406556917009e+24]; // boolean 40 obj2["9.671406556917009e+24"]; // boolean [all …]
|
D | binaryIntegerLiteralES6.ts | 15 var obj2 = { variable 32 obj2[0B11010]; // string 33 obj2[26]; // string 34 obj2["26"]; // string 35 obj2["0B11010"]; // any 36 obj2["a"]; // number 37 obj2["b"]; // number 38 obj2["bin2"]; // number 39 obj2[9.671406556917009e+24]; // boolean 40 obj2["9.671406556917009e+24"]; // boolean [all …]
|
D | octalIntegerLiteral.ts | 15 var obj2 = { variable 32 obj2[0O45436]; // string 33 obj2["0O45436"]; // any 34 obj2["19230"]; // string 35 obj2[19230]; // string 36 obj2["a"]; // number 37 obj2["b"]; // number 38 obj2["oct2"]; // number 39 obj2[5.462437423415177e+244]; // boolean 40 obj2["5.462437423415177e+244"]; // boolean [all …]
|
/third_party/cef/tests/ceftests/ |
D | browser_info_map_unittest.cc | 101 MyObject obj2(2); in TEST() local 102 map.Add(kBrowserId, 2, obj2); in TEST() 137 MyObject obj2(2); in TEST() local 138 map.Add(kBrowserId1, 2, obj2); in TEST() 193 MyObject obj2(2); in TEST() local 194 map.Add(kBrowserId, 2, obj2); in TEST() 198 EXPECT_EQ(obj2.member, f2.member); in TEST() 206 EXPECT_EQ(obj2.member, f2b.member); in TEST() 243 MyObject obj2(2); in TEST() local 244 map.Add(kBrowserId1, 2, obj2); in TEST() [all …]
|
/third_party/json/test/src/ |
D | unit-udt_macro.cpp | 269 T obj2; variable 270 j.get_to(obj2); 271 bool ok = (obj1 == obj2); 280 T obj2; variable 281 j2.get_to(obj2); 282 bool ok = (obj1 == obj2); 291 T obj2; variable 292 j2.get_to(obj2); 293 bool ok = (obj1 == obj2); 302 T obj2; variable [all …]
|