/third_party/typescript/tests/baselines/reference/ |
D | logicalAssignment6(target=esnext).types | 2 function foo1(results: number[] | undefined, results1: number[] | undefined) { 3 >foo1 : (results: number[] | undefined, results1: number[] | undefined) => void 5 >results1 : number[] | undefined 7 (results ||= (results1 ||= [])).push(100); 8 >(results ||= (results1 ||= [])).push(100) : number 9 >(results ||= (results1 ||= [])).push : (...items: number[]) => number 10 >(results ||= (results1 ||= [])) : number[] 11 >results ||= (results1 ||= []) : number[] 13 >(results1 ||= []) : number[] 14 >results1 ||= [] : number[] [all …]
|
D | logicalAssignment6(target=es2020).types | 2 function foo1(results: number[] | undefined, results1: number[] | undefined) { 3 >foo1 : (results: number[] | undefined, results1: number[] | undefined) => void 5 >results1 : number[] | undefined 7 (results ||= (results1 ||= [])).push(100); 8 >(results ||= (results1 ||= [])).push(100) : number 9 >(results ||= (results1 ||= [])).push : (...items: number[]) => number 10 >(results ||= (results1 ||= [])) : number[] 11 >results ||= (results1 ||= []) : number[] 13 >(results1 ||= []) : number[] 14 >results1 ||= [] : number[] [all …]
|
D | logicalAssignment6(target=es2015).types | 2 function foo1(results: number[] | undefined, results1: number[] | undefined) { 3 >foo1 : (results: number[] | undefined, results1: number[] | undefined) => void 5 >results1 : number[] | undefined 7 (results ||= (results1 ||= [])).push(100); 8 >(results ||= (results1 ||= [])).push(100) : number 9 >(results ||= (results1 ||= [])).push : (...items: number[]) => number 10 >(results ||= (results1 ||= [])) : number[] 11 >results ||= (results1 ||= []) : number[] 13 >(results1 ||= []) : number[] 14 >results1 ||= [] : number[] [all …]
|
D | logicalAssignment7(target=esnext).types | 2 function foo1(results: number[] | undefined, results1: number[] | undefined) { 3 >foo1 : (results: number[] | undefined, results1: number[] | undefined) => void 5 >results1 : number[] | undefined 7 (results ||= results1 ||= []).push(100); 8 >(results ||= results1 ||= []).push(100) : number 9 >(results ||= results1 ||= []).push : (...items: number[]) => number 10 >(results ||= results1 ||= []) : number[] 11 >results ||= results1 ||= [] : number[] 13 >results1 ||= [] : number[] 14 >results1 : number[] | undefined [all …]
|
D | logicalAssignment7(target=es2020).types | 2 function foo1(results: number[] | undefined, results1: number[] | undefined) { 3 >foo1 : (results: number[] | undefined, results1: number[] | undefined) => void 5 >results1 : number[] | undefined 7 (results ||= results1 ||= []).push(100); 8 >(results ||= results1 ||= []).push(100) : number 9 >(results ||= results1 ||= []).push : (...items: number[]) => number 10 >(results ||= results1 ||= []) : number[] 11 >results ||= results1 ||= [] : number[] 13 >results1 ||= [] : number[] 14 >results1 : number[] | undefined [all …]
|
D | logicalAssignment7(target=es2015).types | 2 function foo1(results: number[] | undefined, results1: number[] | undefined) { 3 >foo1 : (results: number[] | undefined, results1: number[] | undefined) => void 5 >results1 : number[] | undefined 7 (results ||= results1 ||= []).push(100); 8 >(results ||= results1 ||= []).push(100) : number 9 >(results ||= results1 ||= []).push : (...items: number[]) => number 10 >(results ||= results1 ||= []) : number[] 11 >results ||= results1 ||= [] : number[] 13 >results1 ||= [] : number[] 14 >results1 : number[] | undefined [all …]
|
D | logicalAssignment7(target=es2015).js | 2 function foo1(results: number[] | undefined, results1: number[] | undefined) { 3 (results ||= results1 ||= []).push(100); 6 function foo2(results: number[] | undefined, results1: number[] | undefined) { 7 (results ??= results1 ??= []).push(100); 10 function foo3(results: number[] | undefined, results1: number[] | undefined) { 11 (results &&= results1 &&= []).push(100); 16 function foo1(results, results1) { 17 (results || (results = results1 || (results1 = []))).push(100); 19 function foo2(results, results1) { 20 …&& results !== void 0 ? results : (results = results1 !== null && results1 !== void 0 ? results1 :… [all …]
|
D | logicalAssignment6(target=es2015).js | 2 function foo1(results: number[] | undefined, results1: number[] | undefined) { 3 (results ||= (results1 ||= [])).push(100); 6 function foo2(results: number[] | undefined, results1: number[] | undefined) { 7 (results ??= (results1 ??= [])).push(100); 10 function foo3(results: number[] | undefined, results1: number[] | undefined) { 11 (results &&= (results1 &&= [])).push(100); 16 function foo1(results, results1) { 17 (results || (results = results1 || (results1 = []))).push(100); 19 function foo2(results, results1) { 20 …&& results !== void 0 ? results : (results = results1 !== null && results1 !== void 0 ? results1 :… [all …]
|
D | logicalAssignment6(target=es2015).symbols | 2 function foo1(results: number[] | undefined, results1: number[] | undefined) { 5 >results1 : Symbol(results1, Decl(logicalAssignment6.ts, 0, 44)) 7 (results ||= (results1 ||= [])).push(100); 8 >(results ||= (results1 ||= [])).push : Symbol(Array.push, Decl(lib.es5.d.ts, --, --)) 10 >results1 : Symbol(results1, Decl(logicalAssignment6.ts, 0, 44)) 14 function foo2(results: number[] | undefined, results1: number[] | undefined) { 17 >results1 : Symbol(results1, Decl(logicalAssignment6.ts, 4, 44)) 19 (results ??= (results1 ??= [])).push(100); 20 >(results ??= (results1 ??= [])).push : Symbol(Array.push, Decl(lib.es5.d.ts, --, --)) 22 >results1 : Symbol(results1, Decl(logicalAssignment6.ts, 4, 44)) [all …]
|
D | logicalAssignment7(target=es2020).symbols | 2 function foo1(results: number[] | undefined, results1: number[] | undefined) { 5 >results1 : Symbol(results1, Decl(logicalAssignment7.ts, 0, 44)) 7 (results ||= results1 ||= []).push(100); 8 >(results ||= results1 ||= []).push : Symbol(Array.push, Decl(lib.es5.d.ts, --, --)) 10 >results1 : Symbol(results1, Decl(logicalAssignment7.ts, 0, 44)) 14 function foo2(results: number[] | undefined, results1: number[] | undefined) { 17 >results1 : Symbol(results1, Decl(logicalAssignment7.ts, 4, 44)) 19 (results ??= results1 ??= []).push(100); 20 >(results ??= results1 ??= []).push : Symbol(Array.push, Decl(lib.es5.d.ts, --, --)) 22 >results1 : Symbol(results1, Decl(logicalAssignment7.ts, 4, 44)) [all …]
|
D | logicalAssignment7(target=es2015).symbols | 2 function foo1(results: number[] | undefined, results1: number[] | undefined) { 5 >results1 : Symbol(results1, Decl(logicalAssignment7.ts, 0, 44)) 7 (results ||= results1 ||= []).push(100); 8 >(results ||= results1 ||= []).push : Symbol(Array.push, Decl(lib.es5.d.ts, --, --)) 10 >results1 : Symbol(results1, Decl(logicalAssignment7.ts, 0, 44)) 14 function foo2(results: number[] | undefined, results1: number[] | undefined) { 17 >results1 : Symbol(results1, Decl(logicalAssignment7.ts, 4, 44)) 19 (results ??= results1 ??= []).push(100); 20 >(results ??= results1 ??= []).push : Symbol(Array.push, Decl(lib.es5.d.ts, --, --)) 22 >results1 : Symbol(results1, Decl(logicalAssignment7.ts, 4, 44)) [all …]
|
D | logicalAssignment6(target=es2020).symbols | 2 function foo1(results: number[] | undefined, results1: number[] | undefined) { 5 >results1 : Symbol(results1, Decl(logicalAssignment6.ts, 0, 44)) 7 (results ||= (results1 ||= [])).push(100); 8 >(results ||= (results1 ||= [])).push : Symbol(Array.push, Decl(lib.es5.d.ts, --, --)) 10 >results1 : Symbol(results1, Decl(logicalAssignment6.ts, 0, 44)) 14 function foo2(results: number[] | undefined, results1: number[] | undefined) { 17 >results1 : Symbol(results1, Decl(logicalAssignment6.ts, 4, 44)) 19 (results ??= (results1 ??= [])).push(100); 20 >(results ??= (results1 ??= [])).push : Symbol(Array.push, Decl(lib.es5.d.ts, --, --)) 22 >results1 : Symbol(results1, Decl(logicalAssignment6.ts, 4, 44)) [all …]
|
D | logicalAssignment7(target=esnext).symbols | 2 function foo1(results: number[] | undefined, results1: number[] | undefined) { 5 >results1 : Symbol(results1, Decl(logicalAssignment7.ts, 0, 44)) 7 (results ||= results1 ||= []).push(100); 8 >(results ||= results1 ||= []).push : Symbol(Array.push, Decl(lib.es5.d.ts, --, --)) 10 >results1 : Symbol(results1, Decl(logicalAssignment7.ts, 0, 44)) 14 function foo2(results: number[] | undefined, results1: number[] | undefined) { 17 >results1 : Symbol(results1, Decl(logicalAssignment7.ts, 4, 44)) 19 (results ??= results1 ??= []).push(100); 20 >(results ??= results1 ??= []).push : Symbol(Array.push, Decl(lib.es5.d.ts, --, --)) 22 >results1 : Symbol(results1, Decl(logicalAssignment7.ts, 4, 44)) [all …]
|
D | logicalAssignment6(target=esnext).symbols | 2 function foo1(results: number[] | undefined, results1: number[] | undefined) { 5 >results1 : Symbol(results1, Decl(logicalAssignment6.ts, 0, 44)) 7 (results ||= (results1 ||= [])).push(100); 8 >(results ||= (results1 ||= [])).push : Symbol(Array.push, Decl(lib.es5.d.ts, --, --)) 10 >results1 : Symbol(results1, Decl(logicalAssignment6.ts, 0, 44)) 14 function foo2(results: number[] | undefined, results1: number[] | undefined) { 17 >results1 : Symbol(results1, Decl(logicalAssignment6.ts, 4, 44)) 19 (results ??= (results1 ??= [])).push(100); 20 >(results ??= (results1 ??= [])).push : Symbol(Array.push, Decl(lib.es5.d.ts, --, --)) 22 >results1 : Symbol(results1, Decl(logicalAssignment6.ts, 4, 44)) [all …]
|
D | logicalAssignment7(target=es2020).js | 2 function foo1(results: number[] | undefined, results1: number[] | undefined) { 3 (results ||= results1 ||= []).push(100); 6 function foo2(results: number[] | undefined, results1: number[] | undefined) { 7 (results ??= results1 ??= []).push(100); 10 function foo3(results: number[] | undefined, results1: number[] | undefined) { 11 (results &&= results1 &&= []).push(100); 16 function foo1(results, results1) { 17 (results || (results = results1 || (results1 = []))).push(100); 19 function foo2(results, results1) { 20 (results ?? (results = results1 ?? (results1 = []))).push(100); [all …]
|
D | logicalAssignment6(target=es2020).js | 2 function foo1(results: number[] | undefined, results1: number[] | undefined) { 3 (results ||= (results1 ||= [])).push(100); 6 function foo2(results: number[] | undefined, results1: number[] | undefined) { 7 (results ??= (results1 ??= [])).push(100); 10 function foo3(results: number[] | undefined, results1: number[] | undefined) { 11 (results &&= (results1 &&= [])).push(100); 16 function foo1(results, results1) { 17 (results || (results = results1 || (results1 = []))).push(100); 19 function foo2(results, results1) { 20 (results ?? (results = results1 ?? (results1 = []))).push(100); [all …]
|
D | logicalAssignment7(target=esnext).js | 2 function foo1(results: number[] | undefined, results1: number[] | undefined) { 3 (results ||= results1 ||= []).push(100); 6 function foo2(results: number[] | undefined, results1: number[] | undefined) { 7 (results ??= results1 ??= []).push(100); 10 function foo3(results: number[] | undefined, results1: number[] | undefined) { 11 (results &&= results1 &&= []).push(100); 16 function foo1(results, results1) { 17 (results ||= results1 ||= []).push(100); 19 function foo2(results, results1) { 20 (results ??= results1 ??= []).push(100); [all …]
|
D | logicalAssignment6(target=esnext).js | 2 function foo1(results: number[] | undefined, results1: number[] | undefined) { 3 (results ||= (results1 ||= [])).push(100); 6 function foo2(results: number[] | undefined, results1: number[] | undefined) { 7 (results ??= (results1 ??= [])).push(100); 10 function foo3(results: number[] | undefined, results1: number[] | undefined) { 11 (results &&= (results1 &&= [])).push(100); 16 function foo1(results, results1) { 17 (results ||= (results1 ||= [])).push(100); 19 function foo2(results, results1) { 20 (results ??= (results1 ??= [])).push(100); [all …]
|
D | super2.types | 97 var results1 = new SubSub5(); 98 >results1 : SubSub5 107 results1.x() + results1.y() + results2.y(); 108 >results1.x() + results1.y() + results2.y() : string 109 >results1.x() + results1.y() : string 110 >results1.x() : string 111 >results1.x : () => string 112 >results1 : SubSub5 114 >results1.y() : string 115 >results1.y : () => string [all …]
|
D | super2.symbols | 89 var results1 = new SubSub5(); 90 >results1 : Symbol(results1, Decl(super2.ts, 46, 3)) 97 results1.x() + results1.y() + results2.y(); 98 >results1.x : Symbol(SubSub5.x, Decl(super2.ts, 17, 28)) 99 >results1 : Symbol(results1, Decl(super2.ts, 46, 3)) 101 >results1.y : Symbol(SubSub5.y, Decl(super2.ts, 20, 5)) 102 >results1 : Symbol(results1, Decl(super2.ts, 46, 3))
|
D | logicalAssignment7(target=es2020).errors.txt | 6 function foo1(results: number[] | undefined, results1: number[] | undefined) { 7 (results ||= results1 ||= []).push(100); 10 function foo2(results: number[] | undefined, results1: number[] | undefined) { 11 (results ??= results1 ??= []).push(100); 14 function foo3(results: number[] | undefined, results1: number[] | undefined) { 15 (results &&= results1 &&= []).push(100);
|
D | logicalAssignment7(target=es2015).errors.txt | 6 function foo1(results: number[] | undefined, results1: number[] | undefined) { 7 (results ||= results1 ||= []).push(100); 10 function foo2(results: number[] | undefined, results1: number[] | undefined) { 11 (results ??= results1 ??= []).push(100); 14 function foo3(results: number[] | undefined, results1: number[] | undefined) { 15 (results &&= results1 &&= []).push(100);
|
/third_party/python/Lib/test/ |
D | lock_tests.py | 384 results1 = [] 387 results1.append(evt.wait()) 392 self.assertEqual(len(results1), 0) 395 self.assertEqual(results1, [True] * N) 408 results1 = [] 412 results1.append(evt.wait(0.0)) 418 self.assertEqual(results1, [False] * N) 423 results1 = [] 427 self.assertEqual(results1, [True] * N) 505 results1 = [] [all …]
|
/third_party/typescript/tests/cases/conformance/esnext/logicalAssignment/ |
D | logicalAssignment7.ts | 4 function foo1(results: number[] | undefined, results1: number[] | undefined) { 5 (results ||= results1 ||= []).push(100); 8 function foo2(results: number[] | undefined, results1: number[] | undefined) { 9 (results ??= results1 ??= []).push(100); 12 function foo3(results: number[] | undefined, results1: number[] | undefined) { 13 (results &&= results1 &&= []).push(100);
|
D | logicalAssignment6.ts | 4 function foo1(results: number[] | undefined, results1: number[] | undefined) { 5 (results ||= (results1 ||= [])).push(100); 8 function foo2(results: number[] | undefined, results1: number[] | undefined) { 9 (results ??= (results1 ??= [])).push(100); 12 function foo3(results: number[] | undefined, results1: number[] | undefined) { 13 (results &&= (results1 &&= [])).push(100);
|