| 12
 3
 4
 5
 6
 7
 8
 9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
 100
 101
 102
 103
 104
 105
 106
 107
 108
 109
 110
 111
 112
 113
 114
 115
 116
 117
 118
 119
 120
 121
 122
 123
 124
 125
 126
 127
 128
 129
 130
 131
 132
 133
 134
 135
 136
 137
 138
 139
 140
 141
 142
 143
 144
 145
 146
 147
 148
 149
 150
 151
 152
 153
 154
 155
 156
 157
 158
 159
 160
 161
 162
 163
 164
 165
 166
 167
 168
 169
 170
 171
 172
 173
 174
 175
 176
 177
 178
 179
 180
 181
 182
 183
 184
 185
 186
 187
 188
 189
 190
 191
 192
 193
 194
 195
 196
 197
 198
 199
 200
 201
 202
 203
 204
 205
 206
 207
 208
 209
 210
 211
 212
 213
 214
 215
 216
 217
 218
 219
 220
 221
 222
 223
 224
 225
 226
 227
 228
 229
 230
 231
 232
 233
 234
 235
 236
 237
 238
 239
 240
 241
 242
 243
 244
 245
 246
 247
 248
 249
 250
 251
 252
 253
 254
 255
 256
 257
 258
 259
 260
 261
 262
 263
 264
 265
 266
 267
 268
 269
 270
 271
 272
 273
 274
 275
 276
 277
 278
 279
 280
 281
 282
 283
 284
 285
 286
 287
 288
 289
 290
 291
 292
 293
 294
 295
 
 | === tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithIdenticalPrimitiveType.ts ===
enum E { a, b, c }
>E : Symbol(E, Decl(comparisonOperatorWithIdenticalPrimitiveType.ts, 0, 0))
>a : Symbol(E.a, Decl(comparisonOperatorWithIdenticalPrimitiveType.ts, 0, 8))
>b : Symbol(E.b, Decl(comparisonOperatorWithIdenticalPrimitiveType.ts, 0, 11))
>c : Symbol(E.c, Decl(comparisonOperatorWithIdenticalPrimitiveType.ts, 0, 14))
var a: number;
>a : Symbol(a, Decl(comparisonOperatorWithIdenticalPrimitiveType.ts, 2, 3))
var b: boolean;
>b : Symbol(b, Decl(comparisonOperatorWithIdenticalPrimitiveType.ts, 3, 3))
var c: string;
>c : Symbol(c, Decl(comparisonOperatorWithIdenticalPrimitiveType.ts, 4, 3))
var d: void;
>d : Symbol(d, Decl(comparisonOperatorWithIdenticalPrimitiveType.ts, 5, 3))
var e: E;
>e : Symbol(e, Decl(comparisonOperatorWithIdenticalPrimitiveType.ts, 6, 3))
>E : Symbol(E, Decl(comparisonOperatorWithIdenticalPrimitiveType.ts, 0, 0))
// operator <
var ra1 = a < a;
>ra1 : Symbol(ra1, Decl(comparisonOperatorWithIdenticalPrimitiveType.ts, 9, 3))
>a : Symbol(a, Decl(comparisonOperatorWithIdenticalPrimitiveType.ts, 2, 3))
>a : Symbol(a, Decl(comparisonOperatorWithIdenticalPrimitiveType.ts, 2, 3))
var ra2 = b < b;
>ra2 : Symbol(ra2, Decl(comparisonOperatorWithIdenticalPrimitiveType.ts, 10, 3))
>b : Symbol(b, Decl(comparisonOperatorWithIdenticalPrimitiveType.ts, 3, 3))
>b : Symbol(b, Decl(comparisonOperatorWithIdenticalPrimitiveType.ts, 3, 3))
var ra3 = c < c;
>ra3 : Symbol(ra3, Decl(comparisonOperatorWithIdenticalPrimitiveType.ts, 11, 3))
>c : Symbol(c, Decl(comparisonOperatorWithIdenticalPrimitiveType.ts, 4, 3))
>c : Symbol(c, Decl(comparisonOperatorWithIdenticalPrimitiveType.ts, 4, 3))
var ra4 = d < d;
>ra4 : Symbol(ra4, Decl(comparisonOperatorWithIdenticalPrimitiveType.ts, 12, 3))
>d : Symbol(d, Decl(comparisonOperatorWithIdenticalPrimitiveType.ts, 5, 3))
>d : Symbol(d, Decl(comparisonOperatorWithIdenticalPrimitiveType.ts, 5, 3))
var ra5 = e < e;
>ra5 : Symbol(ra5, Decl(comparisonOperatorWithIdenticalPrimitiveType.ts, 13, 3))
>e : Symbol(e, Decl(comparisonOperatorWithIdenticalPrimitiveType.ts, 6, 3))
>e : Symbol(e, Decl(comparisonOperatorWithIdenticalPrimitiveType.ts, 6, 3))
var ra6 = null < null;
>ra6 : Symbol(ra6, Decl(comparisonOperatorWithIdenticalPrimitiveType.ts, 14, 3))
var ra7 = undefined < undefined;
>ra7 : Symbol(ra7, Decl(comparisonOperatorWithIdenticalPrimitiveType.ts, 15, 3))
>undefined : Symbol(undefined)
>undefined : Symbol(undefined)
// operator >
var rb1 = a > a;
>rb1 : Symbol(rb1, Decl(comparisonOperatorWithIdenticalPrimitiveType.ts, 18, 3))
>a : Symbol(a, Decl(comparisonOperatorWithIdenticalPrimitiveType.ts, 2, 3))
>a : Symbol(a, Decl(comparisonOperatorWithIdenticalPrimitiveType.ts, 2, 3))
var rb2 = b > b;
>rb2 : Symbol(rb2, Decl(comparisonOperatorWithIdenticalPrimitiveType.ts, 19, 3))
>b : Symbol(b, Decl(comparisonOperatorWithIdenticalPrimitiveType.ts, 3, 3))
>b : Symbol(b, Decl(comparisonOperatorWithIdenticalPrimitiveType.ts, 3, 3))
var rb3 = c > c;
>rb3 : Symbol(rb3, Decl(comparisonOperatorWithIdenticalPrimitiveType.ts, 20, 3))
>c : Symbol(c, Decl(comparisonOperatorWithIdenticalPrimitiveType.ts, 4, 3))
>c : Symbol(c, Decl(comparisonOperatorWithIdenticalPrimitiveType.ts, 4, 3))
var rb4 = d > d;
>rb4 : Symbol(rb4, Decl(comparisonOperatorWithIdenticalPrimitiveType.ts, 21, 3))
>d : Symbol(d, Decl(comparisonOperatorWithIdenticalPrimitiveType.ts, 5, 3))
>d : Symbol(d, Decl(comparisonOperatorWithIdenticalPrimitiveType.ts, 5, 3))
var rb5 = e > e;
>rb5 : Symbol(rb5, Decl(comparisonOperatorWithIdenticalPrimitiveType.ts, 22, 3))
>e : Symbol(e, Decl(comparisonOperatorWithIdenticalPrimitiveType.ts, 6, 3))
>e : Symbol(e, Decl(comparisonOperatorWithIdenticalPrimitiveType.ts, 6, 3))
var rb6 = null > null;
>rb6 : Symbol(rb6, Decl(comparisonOperatorWithIdenticalPrimitiveType.ts, 23, 3))
var rb7 = undefined > undefined;
>rb7 : Symbol(rb7, Decl(comparisonOperatorWithIdenticalPrimitiveType.ts, 24, 3))
>undefined : Symbol(undefined)
>undefined : Symbol(undefined)
// operator <=
var rc1 = a <= a;
>rc1 : Symbol(rc1, Decl(comparisonOperatorWithIdenticalPrimitiveType.ts, 27, 3))
>a : Symbol(a, Decl(comparisonOperatorWithIdenticalPrimitiveType.ts, 2, 3))
>a : Symbol(a, Decl(comparisonOperatorWithIdenticalPrimitiveType.ts, 2, 3))
var rc2 = b <= b;
>rc2 : Symbol(rc2, Decl(comparisonOperatorWithIdenticalPrimitiveType.ts, 28, 3))
>b : Symbol(b, Decl(comparisonOperatorWithIdenticalPrimitiveType.ts, 3, 3))
>b : Symbol(b, Decl(comparisonOperatorWithIdenticalPrimitiveType.ts, 3, 3))
var rc3 = c <= c;
>rc3 : Symbol(rc3, Decl(comparisonOperatorWithIdenticalPrimitiveType.ts, 29, 3))
>c : Symbol(c, Decl(comparisonOperatorWithIdenticalPrimitiveType.ts, 4, 3))
>c : Symbol(c, Decl(comparisonOperatorWithIdenticalPrimitiveType.ts, 4, 3))
var rc4 = d <= d;
>rc4 : Symbol(rc4, Decl(comparisonOperatorWithIdenticalPrimitiveType.ts, 30, 3))
>d : Symbol(d, Decl(comparisonOperatorWithIdenticalPrimitiveType.ts, 5, 3))
>d : Symbol(d, Decl(comparisonOperatorWithIdenticalPrimitiveType.ts, 5, 3))
var rc5 = e <= e;
>rc5 : Symbol(rc5, Decl(comparisonOperatorWithIdenticalPrimitiveType.ts, 31, 3))
>e : Symbol(e, Decl(comparisonOperatorWithIdenticalPrimitiveType.ts, 6, 3))
>e : Symbol(e, Decl(comparisonOperatorWithIdenticalPrimitiveType.ts, 6, 3))
var rc6 = null <= null;
>rc6 : Symbol(rc6, Decl(comparisonOperatorWithIdenticalPrimitiveType.ts, 32, 3))
var rc7 = undefined <= undefined;
>rc7 : Symbol(rc7, Decl(comparisonOperatorWithIdenticalPrimitiveType.ts, 33, 3))
>undefined : Symbol(undefined)
>undefined : Symbol(undefined)
// operator >=
var rd1 = a >= a;
>rd1 : Symbol(rd1, Decl(comparisonOperatorWithIdenticalPrimitiveType.ts, 36, 3))
>a : Symbol(a, Decl(comparisonOperatorWithIdenticalPrimitiveType.ts, 2, 3))
>a : Symbol(a, Decl(comparisonOperatorWithIdenticalPrimitiveType.ts, 2, 3))
var rd2 = b >= b;
>rd2 : Symbol(rd2, Decl(comparisonOperatorWithIdenticalPrimitiveType.ts, 37, 3))
>b : Symbol(b, Decl(comparisonOperatorWithIdenticalPrimitiveType.ts, 3, 3))
>b : Symbol(b, Decl(comparisonOperatorWithIdenticalPrimitiveType.ts, 3, 3))
var rd3 = c >= c;
>rd3 : Symbol(rd3, Decl(comparisonOperatorWithIdenticalPrimitiveType.ts, 38, 3))
>c : Symbol(c, Decl(comparisonOperatorWithIdenticalPrimitiveType.ts, 4, 3))
>c : Symbol(c, Decl(comparisonOperatorWithIdenticalPrimitiveType.ts, 4, 3))
var rd4 = d >= d;
>rd4 : Symbol(rd4, Decl(comparisonOperatorWithIdenticalPrimitiveType.ts, 39, 3))
>d : Symbol(d, Decl(comparisonOperatorWithIdenticalPrimitiveType.ts, 5, 3))
>d : Symbol(d, Decl(comparisonOperatorWithIdenticalPrimitiveType.ts, 5, 3))
var rd5 = e >= e;
>rd5 : Symbol(rd5, Decl(comparisonOperatorWithIdenticalPrimitiveType.ts, 40, 3))
>e : Symbol(e, Decl(comparisonOperatorWithIdenticalPrimitiveType.ts, 6, 3))
>e : Symbol(e, Decl(comparisonOperatorWithIdenticalPrimitiveType.ts, 6, 3))
var rd6 = null >= null;
>rd6 : Symbol(rd6, Decl(comparisonOperatorWithIdenticalPrimitiveType.ts, 41, 3))
var rd7 = undefined >= undefined;
>rd7 : Symbol(rd7, Decl(comparisonOperatorWithIdenticalPrimitiveType.ts, 42, 3))
>undefined : Symbol(undefined)
>undefined : Symbol(undefined)
// operator ==
var re1 = a == a;
>re1 : Symbol(re1, Decl(comparisonOperatorWithIdenticalPrimitiveType.ts, 45, 3))
>a : Symbol(a, Decl(comparisonOperatorWithIdenticalPrimitiveType.ts, 2, 3))
>a : Symbol(a, Decl(comparisonOperatorWithIdenticalPrimitiveType.ts, 2, 3))
var re2 = b == b;
>re2 : Symbol(re2, Decl(comparisonOperatorWithIdenticalPrimitiveType.ts, 46, 3))
>b : Symbol(b, Decl(comparisonOperatorWithIdenticalPrimitiveType.ts, 3, 3))
>b : Symbol(b, Decl(comparisonOperatorWithIdenticalPrimitiveType.ts, 3, 3))
var re3 = c == c;
>re3 : Symbol(re3, Decl(comparisonOperatorWithIdenticalPrimitiveType.ts, 47, 3))
>c : Symbol(c, Decl(comparisonOperatorWithIdenticalPrimitiveType.ts, 4, 3))
>c : Symbol(c, Decl(comparisonOperatorWithIdenticalPrimitiveType.ts, 4, 3))
var re4 = d == d;
>re4 : Symbol(re4, Decl(comparisonOperatorWithIdenticalPrimitiveType.ts, 48, 3))
>d : Symbol(d, Decl(comparisonOperatorWithIdenticalPrimitiveType.ts, 5, 3))
>d : Symbol(d, Decl(comparisonOperatorWithIdenticalPrimitiveType.ts, 5, 3))
var re5 = e == e;
>re5 : Symbol(re5, Decl(comparisonOperatorWithIdenticalPrimitiveType.ts, 49, 3))
>e : Symbol(e, Decl(comparisonOperatorWithIdenticalPrimitiveType.ts, 6, 3))
>e : Symbol(e, Decl(comparisonOperatorWithIdenticalPrimitiveType.ts, 6, 3))
var re6 = null == null;
>re6 : Symbol(re6, Decl(comparisonOperatorWithIdenticalPrimitiveType.ts, 50, 3))
var re7 = undefined == undefined;
>re7 : Symbol(re7, Decl(comparisonOperatorWithIdenticalPrimitiveType.ts, 51, 3))
>undefined : Symbol(undefined)
>undefined : Symbol(undefined)
// operator !=
var rf1 = a != a;
>rf1 : Symbol(rf1, Decl(comparisonOperatorWithIdenticalPrimitiveType.ts, 54, 3))
>a : Symbol(a, Decl(comparisonOperatorWithIdenticalPrimitiveType.ts, 2, 3))
>a : Symbol(a, Decl(comparisonOperatorWithIdenticalPrimitiveType.ts, 2, 3))
var rf2 = b != b;
>rf2 : Symbol(rf2, Decl(comparisonOperatorWithIdenticalPrimitiveType.ts, 55, 3))
>b : Symbol(b, Decl(comparisonOperatorWithIdenticalPrimitiveType.ts, 3, 3))
>b : Symbol(b, Decl(comparisonOperatorWithIdenticalPrimitiveType.ts, 3, 3))
var rf3 = c != c;
>rf3 : Symbol(rf3, Decl(comparisonOperatorWithIdenticalPrimitiveType.ts, 56, 3))
>c : Symbol(c, Decl(comparisonOperatorWithIdenticalPrimitiveType.ts, 4, 3))
>c : Symbol(c, Decl(comparisonOperatorWithIdenticalPrimitiveType.ts, 4, 3))
var rf4 = d != d;
>rf4 : Symbol(rf4, Decl(comparisonOperatorWithIdenticalPrimitiveType.ts, 57, 3))
>d : Symbol(d, Decl(comparisonOperatorWithIdenticalPrimitiveType.ts, 5, 3))
>d : Symbol(d, Decl(comparisonOperatorWithIdenticalPrimitiveType.ts, 5, 3))
var rf5 = e != e;
>rf5 : Symbol(rf5, Decl(comparisonOperatorWithIdenticalPrimitiveType.ts, 58, 3))
>e : Symbol(e, Decl(comparisonOperatorWithIdenticalPrimitiveType.ts, 6, 3))
>e : Symbol(e, Decl(comparisonOperatorWithIdenticalPrimitiveType.ts, 6, 3))
var rf6 = null != null;
>rf6 : Symbol(rf6, Decl(comparisonOperatorWithIdenticalPrimitiveType.ts, 59, 3))
var rf7 = undefined != undefined;
>rf7 : Symbol(rf7, Decl(comparisonOperatorWithIdenticalPrimitiveType.ts, 60, 3))
>undefined : Symbol(undefined)
>undefined : Symbol(undefined)
// operator ===
var rg1 = a === a;
>rg1 : Symbol(rg1, Decl(comparisonOperatorWithIdenticalPrimitiveType.ts, 63, 3))
>a : Symbol(a, Decl(comparisonOperatorWithIdenticalPrimitiveType.ts, 2, 3))
>a : Symbol(a, Decl(comparisonOperatorWithIdenticalPrimitiveType.ts, 2, 3))
var rg2 = b === b;
>rg2 : Symbol(rg2, Decl(comparisonOperatorWithIdenticalPrimitiveType.ts, 64, 3))
>b : Symbol(b, Decl(comparisonOperatorWithIdenticalPrimitiveType.ts, 3, 3))
>b : Symbol(b, Decl(comparisonOperatorWithIdenticalPrimitiveType.ts, 3, 3))
var rg3 = c === c;
>rg3 : Symbol(rg3, Decl(comparisonOperatorWithIdenticalPrimitiveType.ts, 65, 3))
>c : Symbol(c, Decl(comparisonOperatorWithIdenticalPrimitiveType.ts, 4, 3))
>c : Symbol(c, Decl(comparisonOperatorWithIdenticalPrimitiveType.ts, 4, 3))
var rg4 = d === d;
>rg4 : Symbol(rg4, Decl(comparisonOperatorWithIdenticalPrimitiveType.ts, 66, 3))
>d : Symbol(d, Decl(comparisonOperatorWithIdenticalPrimitiveType.ts, 5, 3))
>d : Symbol(d, Decl(comparisonOperatorWithIdenticalPrimitiveType.ts, 5, 3))
var rg5 = e === e;
>rg5 : Symbol(rg5, Decl(comparisonOperatorWithIdenticalPrimitiveType.ts, 67, 3))
>e : Symbol(e, Decl(comparisonOperatorWithIdenticalPrimitiveType.ts, 6, 3))
>e : Symbol(e, Decl(comparisonOperatorWithIdenticalPrimitiveType.ts, 6, 3))
var rg6 = null === null;
>rg6 : Symbol(rg6, Decl(comparisonOperatorWithIdenticalPrimitiveType.ts, 68, 3))
var rg7 = undefined === undefined;
>rg7 : Symbol(rg7, Decl(comparisonOperatorWithIdenticalPrimitiveType.ts, 69, 3))
>undefined : Symbol(undefined)
>undefined : Symbol(undefined)
// operator !==
var rh1 = a !== a;
>rh1 : Symbol(rh1, Decl(comparisonOperatorWithIdenticalPrimitiveType.ts, 72, 3))
>a : Symbol(a, Decl(comparisonOperatorWithIdenticalPrimitiveType.ts, 2, 3))
>a : Symbol(a, Decl(comparisonOperatorWithIdenticalPrimitiveType.ts, 2, 3))
var rh2 = b !== b;
>rh2 : Symbol(rh2, Decl(comparisonOperatorWithIdenticalPrimitiveType.ts, 73, 3))
>b : Symbol(b, Decl(comparisonOperatorWithIdenticalPrimitiveType.ts, 3, 3))
>b : Symbol(b, Decl(comparisonOperatorWithIdenticalPrimitiveType.ts, 3, 3))
var rh3 = c !== c;
>rh3 : Symbol(rh3, Decl(comparisonOperatorWithIdenticalPrimitiveType.ts, 74, 3))
>c : Symbol(c, Decl(comparisonOperatorWithIdenticalPrimitiveType.ts, 4, 3))
>c : Symbol(c, Decl(comparisonOperatorWithIdenticalPrimitiveType.ts, 4, 3))
var rh4 = d !== d;
>rh4 : Symbol(rh4, Decl(comparisonOperatorWithIdenticalPrimitiveType.ts, 75, 3))
>d : Symbol(d, Decl(comparisonOperatorWithIdenticalPrimitiveType.ts, 5, 3))
>d : Symbol(d, Decl(comparisonOperatorWithIdenticalPrimitiveType.ts, 5, 3))
var rh5 = e !== e;
>rh5 : Symbol(rh5, Decl(comparisonOperatorWithIdenticalPrimitiveType.ts, 76, 3))
>e : Symbol(e, Decl(comparisonOperatorWithIdenticalPrimitiveType.ts, 6, 3))
>e : Symbol(e, Decl(comparisonOperatorWithIdenticalPrimitiveType.ts, 6, 3))
var rh6 = null !== null;
>rh6 : Symbol(rh6, Decl(comparisonOperatorWithIdenticalPrimitiveType.ts, 77, 3))
var rh7 = undefined !== undefined;
>rh7 : Symbol(rh7, Decl(comparisonOperatorWithIdenticalPrimitiveType.ts, 78, 3))
>undefined : Symbol(undefined)
>undefined : Symbol(undefined)
 |