/third_party/typescript/tests/baselines/reference/ |
D | decrementOperatorWithNumberTypeInvalidOperations.js | 4 var NUMBER1: number[] = [1, 2]; variable 19 var ResultIsNumber1 = --NUMBER1; 20 var ResultIsNumber2 = NUMBER1--; 42 --NUMBER1; 46 NUMBER1--; 52 var NUMBER1 = [1, 2]; variable 65 var ResultIsNumber1 = --NUMBER1; 66 var ResultIsNumber2 = NUMBER1--; 83 --NUMBER1; 86 NUMBER1--;
|
D | incrementOperatorWithNumberTypeInvalidOperations.js | 4 var NUMBER1: number[] = [1, 2]; variable 19 var ResultIsNumber1 = ++NUMBER1; 20 var ResultIsNumber2 = NUMBER1++; 42 ++NUMBER1; 46 NUMBER1++; 52 var NUMBER1 = [1, 2]; variable 65 var ResultIsNumber1 = ++NUMBER1; 66 var ResultIsNumber2 = NUMBER1++; 83 ++NUMBER1; 86 NUMBER1++;
|
D | incrementOperatorWithNumberType.types | 6 var NUMBER1: number[] = [1, 2]; 7 >NUMBER1 : number[] 70 var ResultIsNumber7 = NUMBER1[0]++; 72 >NUMBER1[0]++ : number 73 >NUMBER1[0] : number 74 >NUMBER1 : number[] 82 ++NUMBER1[0]; 83 >++NUMBER1[0] : number 84 >NUMBER1[0] : number 85 >NUMBER1 : number[] [all …]
|
D | decrementOperatorWithNumberType.types | 6 var NUMBER1: number[] = [1, 2]; 7 >NUMBER1 : number[] 70 var ResultIsNumber7 = NUMBER1[0]--; 72 >NUMBER1[0]-- : number 73 >NUMBER1[0] : number 74 >NUMBER1 : number[] 82 --NUMBER1[0]; 83 >--NUMBER1[0] : number 84 >NUMBER1[0] : number 85 >NUMBER1 : number[] [all …]
|
D | typeofOperatorWithNumberType.js | 4 var NUMBER1: number[] = [1, 2]; variable 20 var ResultIsString2 = typeof NUMBER1; 30 var ResultIsString8 = typeof NUMBER1[0]; 42 typeof NUMBER1; 52 x: typeof NUMBER1; 63 var NUMBER1 = [1, 2]; variable 77 var ResultIsString2 = typeof NUMBER1; 85 var ResultIsString8 = typeof NUMBER1[0]; 95 typeof NUMBER1; 104 x: typeof NUMBER1;
|
D | decrementOperatorWithNumberTypeInvalidOperations.types | 6 var NUMBER1: number[] = [1, 2]; 7 >NUMBER1 : number[] 39 var ResultIsNumber1 = --NUMBER1; 41 >--NUMBER1 : number 42 >NUMBER1 : number[] 44 var ResultIsNumber2 = NUMBER1--; 46 >NUMBER1-- : number 47 >NUMBER1 : number[] 150 --NUMBER1; 151 >--NUMBER1 : number [all …]
|
D | incrementOperatorWithNumberTypeInvalidOperations.types | 6 var NUMBER1: number[] = [1, 2]; 7 >NUMBER1 : number[] 39 var ResultIsNumber1 = ++NUMBER1; 41 >++NUMBER1 : number 42 >NUMBER1 : number[] 44 var ResultIsNumber2 = NUMBER1++; 46 >NUMBER1++ : number 47 >NUMBER1 : number[] 150 ++NUMBER1; 151 >++NUMBER1 : number [all …]
|
D | decrementOperatorWithNumberType.js | 4 var NUMBER1: number[] = [1, 2]; variable 26 var ResultIsNumber7 = NUMBER1[0]--; 31 --NUMBER1[0]; 37 NUMBER1[0]--; 45 var NUMBER1 = [1, 2]; variable 63 var ResultIsNumber7 = NUMBER1[0]--; 66 --NUMBER1[0]; 71 NUMBER1[0]--;
|
D | incrementOperatorWithNumberType.js | 4 var NUMBER1: number[] = [1, 2]; variable 26 var ResultIsNumber7 = NUMBER1[0]++; 31 ++NUMBER1[0]; 37 NUMBER1[0]++; 45 var NUMBER1 = [1, 2]; variable 63 var ResultIsNumber7 = NUMBER1[0]++; 66 ++NUMBER1[0]; 71 NUMBER1[0]++;
|
D | plusOperatorWithNumberType.js | 4 var NUMBER1: number[] = [1, 2]; variable 20 var ResultIsNumber2 = +NUMBER1; 30 var ResultIsNumber8 = +NUMBER1[0]; 38 +NUMBER1; 47 var NUMBER1 = [1, 2]; variable 61 var ResultIsNumber2 = +NUMBER1; 69 var ResultIsNumber8 = +NUMBER1[0]; 76 +NUMBER1;
|
D | negateOperatorWithNumberType.js | 4 var NUMBER1: number[] = [1, 2]; variable 20 var ResultIsNumber2 = -NUMBER1; 30 var ResultIsNumber8 = -NUMBER1[0]; 38 -NUMBER1; 47 var NUMBER1 = [1, 2]; variable 61 var ResultIsNumber2 = -NUMBER1; 69 var ResultIsNumber8 = -NUMBER1[0]; 76 -NUMBER1;
|
D | bitwiseNotOperatorWithNumberType.js | 4 var NUMBER1: number[] = [1, 2]; variable 20 var ResultIsNumber2 = ~NUMBER1; 30 var ResultIsNumber8 = ~NUMBER1[0]; 41 ~NUMBER1; 50 var NUMBER1 = [1, 2]; variable 64 var ResultIsNumber2 = ~NUMBER1; 72 var ResultIsNumber8 = ~NUMBER1[0]; 81 ~NUMBER1;
|
D | deleteOperatorWithNumberType.js | 4 var NUMBER1: number[] = [1, 2]; variable 20 var ResultIsBoolean2 = delete NUMBER1; 30 var ResultIsBoolean8 = delete NUMBER1[0]; 42 delete NUMBER1; 51 var NUMBER1 = [1, 2]; variable 65 var ResultIsBoolean2 = delete NUMBER1; 73 var ResultIsBoolean8 = delete NUMBER1[0]; 83 delete NUMBER1;
|
D | logicalNotOperatorWithNumberType.js | 4 var NUMBER1: number[] = [1, 2]; variable 20 var ResultIsBoolean2 = !NUMBER1; 30 var ResultIsBoolean8 = !NUMBER1[0]; 42 !NUMBER1; 51 var NUMBER1 = [1, 2]; variable 65 var ResultIsBoolean2 = !NUMBER1; 73 var ResultIsBoolean8 = !NUMBER1[0]; 83 !NUMBER1;
|
D | voidOperatorWithNumberType.js | 4 var NUMBER1: number[] = [1, 2]; variable 20 var ResultIsAny2 = void NUMBER1; 30 var ResultIsAny8 = void NUMBER1[0]; 42 void NUMBER1; 51 var NUMBER1 = [1, 2]; variable 65 var ResultIsAny2 = void NUMBER1; 73 var ResultIsAny8 = void NUMBER1[0]; 83 void NUMBER1;
|
D | incrementOperatorWithNumberTypeInvalidOperations.symbols | 6 var NUMBER1: number[] = [1, 2]; 7 >NUMBER1 : Symbol(NUMBER1, Decl(incrementOperatorWithNumberTypeInvalidOperations.ts, 2, 3)) 33 var ResultIsNumber1 = ++NUMBER1; 35 >NUMBER1 : Symbol(NUMBER1, Decl(incrementOperatorWithNumberTypeInvalidOperations.ts, 2, 3)) 37 var ResultIsNumber2 = NUMBER1++; 39 >NUMBER1 : Symbol(NUMBER1, Decl(incrementOperatorWithNumberTypeInvalidOperations.ts, 2, 3)) 105 ++NUMBER1; 106 >NUMBER1 : Symbol(NUMBER1, Decl(incrementOperatorWithNumberTypeInvalidOperations.ts, 2, 3)) 112 NUMBER1++; 113 >NUMBER1 : Symbol(NUMBER1, Decl(incrementOperatorWithNumberTypeInvalidOperations.ts, 2, 3))
|
D | decrementOperatorWithNumberTypeInvalidOperations.symbols | 6 var NUMBER1: number[] = [1, 2]; 7 >NUMBER1 : Symbol(NUMBER1, Decl(decrementOperatorWithNumberTypeInvalidOperations.ts, 2, 3)) 33 var ResultIsNumber1 = --NUMBER1; 35 >NUMBER1 : Symbol(NUMBER1, Decl(decrementOperatorWithNumberTypeInvalidOperations.ts, 2, 3)) 37 var ResultIsNumber2 = NUMBER1--; 39 >NUMBER1 : Symbol(NUMBER1, Decl(decrementOperatorWithNumberTypeInvalidOperations.ts, 2, 3)) 105 --NUMBER1; 106 >NUMBER1 : Symbol(NUMBER1, Decl(decrementOperatorWithNumberTypeInvalidOperations.ts, 2, 3)) 112 NUMBER1--; 113 >NUMBER1 : Symbol(NUMBER1, Decl(decrementOperatorWithNumberTypeInvalidOperations.ts, 2, 3))
|
D | negateOperatorWithNumberType.types | 6 var NUMBER1: number[] = [1, 2]; 7 >NUMBER1 : number[] 44 var ResultIsNumber2 = -NUMBER1; 46 >-NUMBER1 : number 47 >NUMBER1 : number[] 90 var ResultIsNumber8 = -NUMBER1[0]; 92 >-NUMBER1[0] : number 93 >NUMBER1[0] : number 94 >NUMBER1 : number[] 128 -NUMBER1; [all …]
|
D | plusOperatorWithNumberType.types | 6 var NUMBER1: number[] = [1, 2]; 7 >NUMBER1 : number[] 44 var ResultIsNumber2 = +NUMBER1; 46 >+NUMBER1 : number 47 >NUMBER1 : number[] 90 var ResultIsNumber8 = +NUMBER1[0]; 92 >+NUMBER1[0] : number 93 >NUMBER1[0] : number 94 >NUMBER1 : number[] 128 +NUMBER1; [all …]
|
D | bitwiseNotOperatorWithNumberType.types | 6 var NUMBER1: number[] = [1, 2]; 7 >NUMBER1 : number[] 44 var ResultIsNumber2 = ~NUMBER1; 46 >~NUMBER1 : number 47 >NUMBER1 : number[] 90 var ResultIsNumber8 = ~NUMBER1[0]; 92 >~NUMBER1[0] : number 93 >NUMBER1[0] : number 94 >NUMBER1 : number[] 141 ~NUMBER1; [all …]
|
D | logicalNotOperatorWithNumberType.types | 6 var NUMBER1: number[] = [1, 2]; 7 >NUMBER1 : number[] 44 var ResultIsBoolean2 = !NUMBER1; 46 >!NUMBER1 : boolean 47 >NUMBER1 : number[] 90 var ResultIsBoolean8 = !NUMBER1[0]; 92 >!NUMBER1[0] : boolean 93 >NUMBER1[0] : number 94 >NUMBER1 : number[] 145 !NUMBER1; [all …]
|
D | deleteOperatorWithNumberType.types | 6 var NUMBER1: number[] = [1, 2]; 7 >NUMBER1 : number[] 44 var ResultIsBoolean2 = delete NUMBER1; 46 >delete NUMBER1 : boolean 47 >NUMBER1 : number[] 90 var ResultIsBoolean8 = delete NUMBER1[0]; 92 >delete NUMBER1[0] : boolean 93 >NUMBER1[0] : number 94 >NUMBER1 : number[] 145 delete NUMBER1; [all …]
|
D | voidOperatorWithNumberType.types | 6 var NUMBER1: number[] = [1, 2]; 7 >NUMBER1 : number[] 44 var ResultIsAny2 = void NUMBER1; 46 >void NUMBER1 : undefined 47 >NUMBER1 : number[] 90 var ResultIsAny8 = void NUMBER1[0]; 92 >void NUMBER1[0] : undefined 93 >NUMBER1[0] : number 94 >NUMBER1 : number[] 145 void NUMBER1; [all …]
|
D | decrementOperatorWithNumberType.symbols | 6 var NUMBER1: number[] = [1, 2]; 7 >NUMBER1 : Symbol(NUMBER1, Decl(decrementOperatorWithNumberType.ts, 2, 3)) 60 var ResultIsNumber7 = NUMBER1[0]--; 62 >NUMBER1 : Symbol(NUMBER1, Decl(decrementOperatorWithNumberType.ts, 2, 3)) 68 --NUMBER1[0]; 69 >NUMBER1 : Symbol(NUMBER1, Decl(decrementOperatorWithNumberType.ts, 2, 3)) 92 NUMBER1[0]--; 93 >NUMBER1 : Symbol(NUMBER1, Decl(decrementOperatorWithNumberType.ts, 2, 3))
|
D | negateOperatorWithNumberType.symbols | 6 var NUMBER1: number[] = [1, 2]; 7 >NUMBER1 : Symbol(NUMBER1, Decl(negateOperatorWithNumberType.ts, 2, 3)) 37 var ResultIsNumber2 = -NUMBER1; 39 >NUMBER1 : Symbol(NUMBER1, Decl(negateOperatorWithNumberType.ts, 2, 3)) 70 var ResultIsNumber8 = -NUMBER1[0]; 72 >NUMBER1 : Symbol(NUMBER1, Decl(negateOperatorWithNumberType.ts, 2, 3)) 94 -NUMBER1; 95 >NUMBER1 : Symbol(NUMBER1, Decl(negateOperatorWithNumberType.ts, 2, 3))
|