370 lines
17 KiB
Text
370 lines
17 KiB
Text
=== tests/cases/conformance/expressions/binaryOperators/arithmeticOperator/arithmeticOperatorWithNullValueAndValidOperands.ts ===
|
|
// If one operand is the null or undefined value, it is treated as having the type of the
|
|
// other operand.
|
|
|
|
enum E {
|
|
>E : Symbol(E, Decl(arithmeticOperatorWithNullValueAndValidOperands.ts, 0, 0))
|
|
|
|
a,
|
|
>a : Symbol(E.a, Decl(arithmeticOperatorWithNullValueAndValidOperands.ts, 3, 8))
|
|
|
|
b
|
|
>b : Symbol(E.b, Decl(arithmeticOperatorWithNullValueAndValidOperands.ts, 4, 6))
|
|
}
|
|
|
|
var a: any;
|
|
>a : Symbol(a, Decl(arithmeticOperatorWithNullValueAndValidOperands.ts, 8, 3))
|
|
|
|
var b: number;
|
|
>b : Symbol(b, Decl(arithmeticOperatorWithNullValueAndValidOperands.ts, 9, 3))
|
|
|
|
// operator *
|
|
var ra1 = null * a;
|
|
>ra1 : Symbol(ra1, Decl(arithmeticOperatorWithNullValueAndValidOperands.ts, 12, 3))
|
|
>a : Symbol(a, Decl(arithmeticOperatorWithNullValueAndValidOperands.ts, 8, 3))
|
|
|
|
var ra2 = null * b;
|
|
>ra2 : Symbol(ra2, Decl(arithmeticOperatorWithNullValueAndValidOperands.ts, 13, 3))
|
|
>b : Symbol(b, Decl(arithmeticOperatorWithNullValueAndValidOperands.ts, 9, 3))
|
|
|
|
var ra3 = null * 1;
|
|
>ra3 : Symbol(ra3, Decl(arithmeticOperatorWithNullValueAndValidOperands.ts, 14, 3))
|
|
|
|
var ra4 = null * E.a;
|
|
>ra4 : Symbol(ra4, Decl(arithmeticOperatorWithNullValueAndValidOperands.ts, 15, 3))
|
|
>E.a : Symbol(E.a, Decl(arithmeticOperatorWithNullValueAndValidOperands.ts, 3, 8))
|
|
>E : Symbol(E, Decl(arithmeticOperatorWithNullValueAndValidOperands.ts, 0, 0))
|
|
>a : Symbol(E.a, Decl(arithmeticOperatorWithNullValueAndValidOperands.ts, 3, 8))
|
|
|
|
var ra5 = a * null;
|
|
>ra5 : Symbol(ra5, Decl(arithmeticOperatorWithNullValueAndValidOperands.ts, 16, 3))
|
|
>a : Symbol(a, Decl(arithmeticOperatorWithNullValueAndValidOperands.ts, 8, 3))
|
|
|
|
var ra6 = b * null;
|
|
>ra6 : Symbol(ra6, Decl(arithmeticOperatorWithNullValueAndValidOperands.ts, 17, 3))
|
|
>b : Symbol(b, Decl(arithmeticOperatorWithNullValueAndValidOperands.ts, 9, 3))
|
|
|
|
var ra7 = 0 * null;
|
|
>ra7 : Symbol(ra7, Decl(arithmeticOperatorWithNullValueAndValidOperands.ts, 18, 3))
|
|
|
|
var ra8 = E.b * null;
|
|
>ra8 : Symbol(ra8, Decl(arithmeticOperatorWithNullValueAndValidOperands.ts, 19, 3))
|
|
>E.b : Symbol(E.b, Decl(arithmeticOperatorWithNullValueAndValidOperands.ts, 4, 6))
|
|
>E : Symbol(E, Decl(arithmeticOperatorWithNullValueAndValidOperands.ts, 0, 0))
|
|
>b : Symbol(E.b, Decl(arithmeticOperatorWithNullValueAndValidOperands.ts, 4, 6))
|
|
|
|
// operator /
|
|
var rb1 = null / a;
|
|
>rb1 : Symbol(rb1, Decl(arithmeticOperatorWithNullValueAndValidOperands.ts, 22, 3))
|
|
>a : Symbol(a, Decl(arithmeticOperatorWithNullValueAndValidOperands.ts, 8, 3))
|
|
|
|
var rb2 = null / b;
|
|
>rb2 : Symbol(rb2, Decl(arithmeticOperatorWithNullValueAndValidOperands.ts, 23, 3))
|
|
>b : Symbol(b, Decl(arithmeticOperatorWithNullValueAndValidOperands.ts, 9, 3))
|
|
|
|
var rb3 = null / 1;
|
|
>rb3 : Symbol(rb3, Decl(arithmeticOperatorWithNullValueAndValidOperands.ts, 24, 3))
|
|
|
|
var rb4 = null / E.a;
|
|
>rb4 : Symbol(rb4, Decl(arithmeticOperatorWithNullValueAndValidOperands.ts, 25, 3))
|
|
>E.a : Symbol(E.a, Decl(arithmeticOperatorWithNullValueAndValidOperands.ts, 3, 8))
|
|
>E : Symbol(E, Decl(arithmeticOperatorWithNullValueAndValidOperands.ts, 0, 0))
|
|
>a : Symbol(E.a, Decl(arithmeticOperatorWithNullValueAndValidOperands.ts, 3, 8))
|
|
|
|
var rb5 = a / null;
|
|
>rb5 : Symbol(rb5, Decl(arithmeticOperatorWithNullValueAndValidOperands.ts, 26, 3))
|
|
>a : Symbol(a, Decl(arithmeticOperatorWithNullValueAndValidOperands.ts, 8, 3))
|
|
|
|
var rb6 = b / null;
|
|
>rb6 : Symbol(rb6, Decl(arithmeticOperatorWithNullValueAndValidOperands.ts, 27, 3))
|
|
>b : Symbol(b, Decl(arithmeticOperatorWithNullValueAndValidOperands.ts, 9, 3))
|
|
|
|
var rb7 = 0 / null;
|
|
>rb7 : Symbol(rb7, Decl(arithmeticOperatorWithNullValueAndValidOperands.ts, 28, 3))
|
|
|
|
var rb8 = E.b / null;
|
|
>rb8 : Symbol(rb8, Decl(arithmeticOperatorWithNullValueAndValidOperands.ts, 29, 3))
|
|
>E.b : Symbol(E.b, Decl(arithmeticOperatorWithNullValueAndValidOperands.ts, 4, 6))
|
|
>E : Symbol(E, Decl(arithmeticOperatorWithNullValueAndValidOperands.ts, 0, 0))
|
|
>b : Symbol(E.b, Decl(arithmeticOperatorWithNullValueAndValidOperands.ts, 4, 6))
|
|
|
|
// operator %
|
|
var rc1 = null % a;
|
|
>rc1 : Symbol(rc1, Decl(arithmeticOperatorWithNullValueAndValidOperands.ts, 32, 3))
|
|
>a : Symbol(a, Decl(arithmeticOperatorWithNullValueAndValidOperands.ts, 8, 3))
|
|
|
|
var rc2 = null % b;
|
|
>rc2 : Symbol(rc2, Decl(arithmeticOperatorWithNullValueAndValidOperands.ts, 33, 3))
|
|
>b : Symbol(b, Decl(arithmeticOperatorWithNullValueAndValidOperands.ts, 9, 3))
|
|
|
|
var rc3 = null % 1;
|
|
>rc3 : Symbol(rc3, Decl(arithmeticOperatorWithNullValueAndValidOperands.ts, 34, 3))
|
|
|
|
var rc4 = null % E.a;
|
|
>rc4 : Symbol(rc4, Decl(arithmeticOperatorWithNullValueAndValidOperands.ts, 35, 3))
|
|
>E.a : Symbol(E.a, Decl(arithmeticOperatorWithNullValueAndValidOperands.ts, 3, 8))
|
|
>E : Symbol(E, Decl(arithmeticOperatorWithNullValueAndValidOperands.ts, 0, 0))
|
|
>a : Symbol(E.a, Decl(arithmeticOperatorWithNullValueAndValidOperands.ts, 3, 8))
|
|
|
|
var rc5 = a % null;
|
|
>rc5 : Symbol(rc5, Decl(arithmeticOperatorWithNullValueAndValidOperands.ts, 36, 3))
|
|
>a : Symbol(a, Decl(arithmeticOperatorWithNullValueAndValidOperands.ts, 8, 3))
|
|
|
|
var rc6 = b % null;
|
|
>rc6 : Symbol(rc6, Decl(arithmeticOperatorWithNullValueAndValidOperands.ts, 37, 3))
|
|
>b : Symbol(b, Decl(arithmeticOperatorWithNullValueAndValidOperands.ts, 9, 3))
|
|
|
|
var rc7 = 0 % null;
|
|
>rc7 : Symbol(rc7, Decl(arithmeticOperatorWithNullValueAndValidOperands.ts, 38, 3))
|
|
|
|
var rc8 = E.b % null;
|
|
>rc8 : Symbol(rc8, Decl(arithmeticOperatorWithNullValueAndValidOperands.ts, 39, 3))
|
|
>E.b : Symbol(E.b, Decl(arithmeticOperatorWithNullValueAndValidOperands.ts, 4, 6))
|
|
>E : Symbol(E, Decl(arithmeticOperatorWithNullValueAndValidOperands.ts, 0, 0))
|
|
>b : Symbol(E.b, Decl(arithmeticOperatorWithNullValueAndValidOperands.ts, 4, 6))
|
|
|
|
// operator -
|
|
var rd1 = null - a;
|
|
>rd1 : Symbol(rd1, Decl(arithmeticOperatorWithNullValueAndValidOperands.ts, 42, 3))
|
|
>a : Symbol(a, Decl(arithmeticOperatorWithNullValueAndValidOperands.ts, 8, 3))
|
|
|
|
var rd2 = null - b;
|
|
>rd2 : Symbol(rd2, Decl(arithmeticOperatorWithNullValueAndValidOperands.ts, 43, 3))
|
|
>b : Symbol(b, Decl(arithmeticOperatorWithNullValueAndValidOperands.ts, 9, 3))
|
|
|
|
var rd3 = null - 1;
|
|
>rd3 : Symbol(rd3, Decl(arithmeticOperatorWithNullValueAndValidOperands.ts, 44, 3))
|
|
|
|
var rd4 = null - E.a;
|
|
>rd4 : Symbol(rd4, Decl(arithmeticOperatorWithNullValueAndValidOperands.ts, 45, 3))
|
|
>E.a : Symbol(E.a, Decl(arithmeticOperatorWithNullValueAndValidOperands.ts, 3, 8))
|
|
>E : Symbol(E, Decl(arithmeticOperatorWithNullValueAndValidOperands.ts, 0, 0))
|
|
>a : Symbol(E.a, Decl(arithmeticOperatorWithNullValueAndValidOperands.ts, 3, 8))
|
|
|
|
var rd5 = a - null;
|
|
>rd5 : Symbol(rd5, Decl(arithmeticOperatorWithNullValueAndValidOperands.ts, 46, 3))
|
|
>a : Symbol(a, Decl(arithmeticOperatorWithNullValueAndValidOperands.ts, 8, 3))
|
|
|
|
var rd6 = b - null;
|
|
>rd6 : Symbol(rd6, Decl(arithmeticOperatorWithNullValueAndValidOperands.ts, 47, 3))
|
|
>b : Symbol(b, Decl(arithmeticOperatorWithNullValueAndValidOperands.ts, 9, 3))
|
|
|
|
var rd7 = 0 - null;
|
|
>rd7 : Symbol(rd7, Decl(arithmeticOperatorWithNullValueAndValidOperands.ts, 48, 3))
|
|
|
|
var rd8 = E.b - null;
|
|
>rd8 : Symbol(rd8, Decl(arithmeticOperatorWithNullValueAndValidOperands.ts, 49, 3))
|
|
>E.b : Symbol(E.b, Decl(arithmeticOperatorWithNullValueAndValidOperands.ts, 4, 6))
|
|
>E : Symbol(E, Decl(arithmeticOperatorWithNullValueAndValidOperands.ts, 0, 0))
|
|
>b : Symbol(E.b, Decl(arithmeticOperatorWithNullValueAndValidOperands.ts, 4, 6))
|
|
|
|
// operator <<
|
|
var re1 = null << a;
|
|
>re1 : Symbol(re1, Decl(arithmeticOperatorWithNullValueAndValidOperands.ts, 52, 3))
|
|
>a : Symbol(a, Decl(arithmeticOperatorWithNullValueAndValidOperands.ts, 8, 3))
|
|
|
|
var re2 = null << b;
|
|
>re2 : Symbol(re2, Decl(arithmeticOperatorWithNullValueAndValidOperands.ts, 53, 3))
|
|
>b : Symbol(b, Decl(arithmeticOperatorWithNullValueAndValidOperands.ts, 9, 3))
|
|
|
|
var re3 = null << 1;
|
|
>re3 : Symbol(re3, Decl(arithmeticOperatorWithNullValueAndValidOperands.ts, 54, 3))
|
|
|
|
var re4 = null << E.a;
|
|
>re4 : Symbol(re4, Decl(arithmeticOperatorWithNullValueAndValidOperands.ts, 55, 3))
|
|
>E.a : Symbol(E.a, Decl(arithmeticOperatorWithNullValueAndValidOperands.ts, 3, 8))
|
|
>E : Symbol(E, Decl(arithmeticOperatorWithNullValueAndValidOperands.ts, 0, 0))
|
|
>a : Symbol(E.a, Decl(arithmeticOperatorWithNullValueAndValidOperands.ts, 3, 8))
|
|
|
|
var re5 = a << null;
|
|
>re5 : Symbol(re5, Decl(arithmeticOperatorWithNullValueAndValidOperands.ts, 56, 3))
|
|
>a : Symbol(a, Decl(arithmeticOperatorWithNullValueAndValidOperands.ts, 8, 3))
|
|
|
|
var re6 = b << null;
|
|
>re6 : Symbol(re6, Decl(arithmeticOperatorWithNullValueAndValidOperands.ts, 57, 3))
|
|
>b : Symbol(b, Decl(arithmeticOperatorWithNullValueAndValidOperands.ts, 9, 3))
|
|
|
|
var re7 = 0 << null;
|
|
>re7 : Symbol(re7, Decl(arithmeticOperatorWithNullValueAndValidOperands.ts, 58, 3))
|
|
|
|
var re8 = E.b << null;
|
|
>re8 : Symbol(re8, Decl(arithmeticOperatorWithNullValueAndValidOperands.ts, 59, 3))
|
|
>E.b : Symbol(E.b, Decl(arithmeticOperatorWithNullValueAndValidOperands.ts, 4, 6))
|
|
>E : Symbol(E, Decl(arithmeticOperatorWithNullValueAndValidOperands.ts, 0, 0))
|
|
>b : Symbol(E.b, Decl(arithmeticOperatorWithNullValueAndValidOperands.ts, 4, 6))
|
|
|
|
// operator >>
|
|
var rf1 = null >> a;
|
|
>rf1 : Symbol(rf1, Decl(arithmeticOperatorWithNullValueAndValidOperands.ts, 62, 3))
|
|
>a : Symbol(a, Decl(arithmeticOperatorWithNullValueAndValidOperands.ts, 8, 3))
|
|
|
|
var rf2 = null >> b;
|
|
>rf2 : Symbol(rf2, Decl(arithmeticOperatorWithNullValueAndValidOperands.ts, 63, 3))
|
|
>b : Symbol(b, Decl(arithmeticOperatorWithNullValueAndValidOperands.ts, 9, 3))
|
|
|
|
var rf3 = null >> 1;
|
|
>rf3 : Symbol(rf3, Decl(arithmeticOperatorWithNullValueAndValidOperands.ts, 64, 3))
|
|
|
|
var rf4 = null >> E.a;
|
|
>rf4 : Symbol(rf4, Decl(arithmeticOperatorWithNullValueAndValidOperands.ts, 65, 3))
|
|
>E.a : Symbol(E.a, Decl(arithmeticOperatorWithNullValueAndValidOperands.ts, 3, 8))
|
|
>E : Symbol(E, Decl(arithmeticOperatorWithNullValueAndValidOperands.ts, 0, 0))
|
|
>a : Symbol(E.a, Decl(arithmeticOperatorWithNullValueAndValidOperands.ts, 3, 8))
|
|
|
|
var rf5 = a >> null;
|
|
>rf5 : Symbol(rf5, Decl(arithmeticOperatorWithNullValueAndValidOperands.ts, 66, 3))
|
|
>a : Symbol(a, Decl(arithmeticOperatorWithNullValueAndValidOperands.ts, 8, 3))
|
|
|
|
var rf6 = b >> null;
|
|
>rf6 : Symbol(rf6, Decl(arithmeticOperatorWithNullValueAndValidOperands.ts, 67, 3))
|
|
>b : Symbol(b, Decl(arithmeticOperatorWithNullValueAndValidOperands.ts, 9, 3))
|
|
|
|
var rf7 = 0 >> null;
|
|
>rf7 : Symbol(rf7, Decl(arithmeticOperatorWithNullValueAndValidOperands.ts, 68, 3))
|
|
|
|
var rf8 = E.b >> null;
|
|
>rf8 : Symbol(rf8, Decl(arithmeticOperatorWithNullValueAndValidOperands.ts, 69, 3))
|
|
>E.b : Symbol(E.b, Decl(arithmeticOperatorWithNullValueAndValidOperands.ts, 4, 6))
|
|
>E : Symbol(E, Decl(arithmeticOperatorWithNullValueAndValidOperands.ts, 0, 0))
|
|
>b : Symbol(E.b, Decl(arithmeticOperatorWithNullValueAndValidOperands.ts, 4, 6))
|
|
|
|
// operator >>>
|
|
var rg1 = null >>> a;
|
|
>rg1 : Symbol(rg1, Decl(arithmeticOperatorWithNullValueAndValidOperands.ts, 72, 3))
|
|
>a : Symbol(a, Decl(arithmeticOperatorWithNullValueAndValidOperands.ts, 8, 3))
|
|
|
|
var rg2 = null >>> b;
|
|
>rg2 : Symbol(rg2, Decl(arithmeticOperatorWithNullValueAndValidOperands.ts, 73, 3))
|
|
>b : Symbol(b, Decl(arithmeticOperatorWithNullValueAndValidOperands.ts, 9, 3))
|
|
|
|
var rg3 = null >>> 1;
|
|
>rg3 : Symbol(rg3, Decl(arithmeticOperatorWithNullValueAndValidOperands.ts, 74, 3))
|
|
|
|
var rg4 = null >>> E.a;
|
|
>rg4 : Symbol(rg4, Decl(arithmeticOperatorWithNullValueAndValidOperands.ts, 75, 3))
|
|
>E.a : Symbol(E.a, Decl(arithmeticOperatorWithNullValueAndValidOperands.ts, 3, 8))
|
|
>E : Symbol(E, Decl(arithmeticOperatorWithNullValueAndValidOperands.ts, 0, 0))
|
|
>a : Symbol(E.a, Decl(arithmeticOperatorWithNullValueAndValidOperands.ts, 3, 8))
|
|
|
|
var rg5 = a >>> null;
|
|
>rg5 : Symbol(rg5, Decl(arithmeticOperatorWithNullValueAndValidOperands.ts, 76, 3))
|
|
>a : Symbol(a, Decl(arithmeticOperatorWithNullValueAndValidOperands.ts, 8, 3))
|
|
|
|
var rg6 = b >>> null;
|
|
>rg6 : Symbol(rg6, Decl(arithmeticOperatorWithNullValueAndValidOperands.ts, 77, 3))
|
|
>b : Symbol(b, Decl(arithmeticOperatorWithNullValueAndValidOperands.ts, 9, 3))
|
|
|
|
var rg7 = 0 >>> null;
|
|
>rg7 : Symbol(rg7, Decl(arithmeticOperatorWithNullValueAndValidOperands.ts, 78, 3))
|
|
|
|
var rg8 = E.b >>> null;
|
|
>rg8 : Symbol(rg8, Decl(arithmeticOperatorWithNullValueAndValidOperands.ts, 79, 3))
|
|
>E.b : Symbol(E.b, Decl(arithmeticOperatorWithNullValueAndValidOperands.ts, 4, 6))
|
|
>E : Symbol(E, Decl(arithmeticOperatorWithNullValueAndValidOperands.ts, 0, 0))
|
|
>b : Symbol(E.b, Decl(arithmeticOperatorWithNullValueAndValidOperands.ts, 4, 6))
|
|
|
|
// operator &
|
|
var rh1 = null & a;
|
|
>rh1 : Symbol(rh1, Decl(arithmeticOperatorWithNullValueAndValidOperands.ts, 82, 3))
|
|
>a : Symbol(a, Decl(arithmeticOperatorWithNullValueAndValidOperands.ts, 8, 3))
|
|
|
|
var rh2 = null & b;
|
|
>rh2 : Symbol(rh2, Decl(arithmeticOperatorWithNullValueAndValidOperands.ts, 83, 3))
|
|
>b : Symbol(b, Decl(arithmeticOperatorWithNullValueAndValidOperands.ts, 9, 3))
|
|
|
|
var rh3 = null & 1;
|
|
>rh3 : Symbol(rh3, Decl(arithmeticOperatorWithNullValueAndValidOperands.ts, 84, 3))
|
|
|
|
var rh4 = null & E.a;
|
|
>rh4 : Symbol(rh4, Decl(arithmeticOperatorWithNullValueAndValidOperands.ts, 85, 3))
|
|
>E.a : Symbol(E.a, Decl(arithmeticOperatorWithNullValueAndValidOperands.ts, 3, 8))
|
|
>E : Symbol(E, Decl(arithmeticOperatorWithNullValueAndValidOperands.ts, 0, 0))
|
|
>a : Symbol(E.a, Decl(arithmeticOperatorWithNullValueAndValidOperands.ts, 3, 8))
|
|
|
|
var rh5 = a & null;
|
|
>rh5 : Symbol(rh5, Decl(arithmeticOperatorWithNullValueAndValidOperands.ts, 86, 3))
|
|
>a : Symbol(a, Decl(arithmeticOperatorWithNullValueAndValidOperands.ts, 8, 3))
|
|
|
|
var rh6 = b & null;
|
|
>rh6 : Symbol(rh6, Decl(arithmeticOperatorWithNullValueAndValidOperands.ts, 87, 3))
|
|
>b : Symbol(b, Decl(arithmeticOperatorWithNullValueAndValidOperands.ts, 9, 3))
|
|
|
|
var rh7 = 0 & null;
|
|
>rh7 : Symbol(rh7, Decl(arithmeticOperatorWithNullValueAndValidOperands.ts, 88, 3))
|
|
|
|
var rh8 = E.b & null;
|
|
>rh8 : Symbol(rh8, Decl(arithmeticOperatorWithNullValueAndValidOperands.ts, 89, 3))
|
|
>E.b : Symbol(E.b, Decl(arithmeticOperatorWithNullValueAndValidOperands.ts, 4, 6))
|
|
>E : Symbol(E, Decl(arithmeticOperatorWithNullValueAndValidOperands.ts, 0, 0))
|
|
>b : Symbol(E.b, Decl(arithmeticOperatorWithNullValueAndValidOperands.ts, 4, 6))
|
|
|
|
// operator ^
|
|
var ri1 = null ^ a;
|
|
>ri1 : Symbol(ri1, Decl(arithmeticOperatorWithNullValueAndValidOperands.ts, 92, 3))
|
|
>a : Symbol(a, Decl(arithmeticOperatorWithNullValueAndValidOperands.ts, 8, 3))
|
|
|
|
var ri2 = null ^ b;
|
|
>ri2 : Symbol(ri2, Decl(arithmeticOperatorWithNullValueAndValidOperands.ts, 93, 3))
|
|
>b : Symbol(b, Decl(arithmeticOperatorWithNullValueAndValidOperands.ts, 9, 3))
|
|
|
|
var ri3 = null ^ 1;
|
|
>ri3 : Symbol(ri3, Decl(arithmeticOperatorWithNullValueAndValidOperands.ts, 94, 3))
|
|
|
|
var ri4 = null ^ E.a;
|
|
>ri4 : Symbol(ri4, Decl(arithmeticOperatorWithNullValueAndValidOperands.ts, 95, 3))
|
|
>E.a : Symbol(E.a, Decl(arithmeticOperatorWithNullValueAndValidOperands.ts, 3, 8))
|
|
>E : Symbol(E, Decl(arithmeticOperatorWithNullValueAndValidOperands.ts, 0, 0))
|
|
>a : Symbol(E.a, Decl(arithmeticOperatorWithNullValueAndValidOperands.ts, 3, 8))
|
|
|
|
var ri5 = a ^ null;
|
|
>ri5 : Symbol(ri5, Decl(arithmeticOperatorWithNullValueAndValidOperands.ts, 96, 3))
|
|
>a : Symbol(a, Decl(arithmeticOperatorWithNullValueAndValidOperands.ts, 8, 3))
|
|
|
|
var ri6 = b ^ null;
|
|
>ri6 : Symbol(ri6, Decl(arithmeticOperatorWithNullValueAndValidOperands.ts, 97, 3))
|
|
>b : Symbol(b, Decl(arithmeticOperatorWithNullValueAndValidOperands.ts, 9, 3))
|
|
|
|
var ri7 = 0 ^ null;
|
|
>ri7 : Symbol(ri7, Decl(arithmeticOperatorWithNullValueAndValidOperands.ts, 98, 3))
|
|
|
|
var ri8 = E.b ^ null;
|
|
>ri8 : Symbol(ri8, Decl(arithmeticOperatorWithNullValueAndValidOperands.ts, 99, 3))
|
|
>E.b : Symbol(E.b, Decl(arithmeticOperatorWithNullValueAndValidOperands.ts, 4, 6))
|
|
>E : Symbol(E, Decl(arithmeticOperatorWithNullValueAndValidOperands.ts, 0, 0))
|
|
>b : Symbol(E.b, Decl(arithmeticOperatorWithNullValueAndValidOperands.ts, 4, 6))
|
|
|
|
// operator |
|
|
var rj1 = null | a;
|
|
>rj1 : Symbol(rj1, Decl(arithmeticOperatorWithNullValueAndValidOperands.ts, 102, 3))
|
|
>a : Symbol(a, Decl(arithmeticOperatorWithNullValueAndValidOperands.ts, 8, 3))
|
|
|
|
var rj2 = null | b;
|
|
>rj2 : Symbol(rj2, Decl(arithmeticOperatorWithNullValueAndValidOperands.ts, 103, 3))
|
|
>b : Symbol(b, Decl(arithmeticOperatorWithNullValueAndValidOperands.ts, 9, 3))
|
|
|
|
var rj3 = null | 1;
|
|
>rj3 : Symbol(rj3, Decl(arithmeticOperatorWithNullValueAndValidOperands.ts, 104, 3))
|
|
|
|
var rj4 = null | E.a;
|
|
>rj4 : Symbol(rj4, Decl(arithmeticOperatorWithNullValueAndValidOperands.ts, 105, 3))
|
|
>E.a : Symbol(E.a, Decl(arithmeticOperatorWithNullValueAndValidOperands.ts, 3, 8))
|
|
>E : Symbol(E, Decl(arithmeticOperatorWithNullValueAndValidOperands.ts, 0, 0))
|
|
>a : Symbol(E.a, Decl(arithmeticOperatorWithNullValueAndValidOperands.ts, 3, 8))
|
|
|
|
var rj5 = a | null;
|
|
>rj5 : Symbol(rj5, Decl(arithmeticOperatorWithNullValueAndValidOperands.ts, 106, 3))
|
|
>a : Symbol(a, Decl(arithmeticOperatorWithNullValueAndValidOperands.ts, 8, 3))
|
|
|
|
var rj6 = b | null;
|
|
>rj6 : Symbol(rj6, Decl(arithmeticOperatorWithNullValueAndValidOperands.ts, 107, 3))
|
|
>b : Symbol(b, Decl(arithmeticOperatorWithNullValueAndValidOperands.ts, 9, 3))
|
|
|
|
var rj7 = 0 | null;
|
|
>rj7 : Symbol(rj7, Decl(arithmeticOperatorWithNullValueAndValidOperands.ts, 108, 3))
|
|
|
|
var rj8 = E.b | null;
|
|
>rj8 : Symbol(rj8, Decl(arithmeticOperatorWithNullValueAndValidOperands.ts, 109, 3))
|
|
>E.b : Symbol(E.b, Decl(arithmeticOperatorWithNullValueAndValidOperands.ts, 4, 6))
|
|
>E : Symbol(E, Decl(arithmeticOperatorWithNullValueAndValidOperands.ts, 0, 0))
|
|
>b : Symbol(E.b, Decl(arithmeticOperatorWithNullValueAndValidOperands.ts, 4, 6))
|
|
|