OLD | NEW |
1 Checks possible break locations. | 1 Checks possible break locations. |
2 | 2 |
3 Running test: testEval | 3 Running test: testEval |
4 break at: | 4 break at: |
5 function testEval() { | 5 function testEval() { |
6 #eval('// comment only'); | 6 #eval('// comment only'); |
7 eval('// comment only\n'); | 7 eval('// comment only\n'); |
8 | 8 |
9 break at: | 9 break at: |
10 // comment onl#y | 10 // comment onl#y |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
47 | 47 |
48 break at: | 48 break at: |
49 procedure(); | 49 procedure(); |
50 #} | 50 #} |
51 | 51 |
52 | 52 |
53 | 53 |
54 Running test: testIf | 54 Running test: testIf |
55 break at: | 55 break at: |
56 var a; | 56 var a; |
57 #if (true) a = true; | |
58 if (!a) { | |
59 | |
60 break at: | |
61 var a; | |
62 if (true) #a = true; | 57 if (true) #a = true; |
63 if (!a) { | 58 if (!a) { |
64 | 59 |
65 break at: | 60 break at: |
66 if (true) a = true; | 61 if (true) a = true; |
67 #if (!a) { | 62 #if (!a) { |
68 a = true; | 63 a = true; |
69 | 64 |
70 break at: | 65 break at: |
71 } else { | 66 } else { |
(...skipping 320 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
392 function testForInLoop() { | 387 function testForInLoop() { |
393 var o = #{}; | 388 var o = #{}; |
394 for (var k in o) {} | 389 for (var k in o) {} |
395 | 390 |
396 break at: | 391 break at: |
397 var o = {}; | 392 var o = {}; |
398 for (var k in #o) {} | 393 for (var k in #o) {} |
399 for (var k in o) k; | 394 for (var k in o) k; |
400 | 395 |
401 break at: | 396 break at: |
| 397 var o = {}; |
| 398 for (var #k in o) {} |
| 399 for (var k in o) k; |
| 400 |
| 401 break at: |
402 for (var k in o) {} | 402 for (var k in o) {} |
403 for (var k in #o) k; | 403 for (var k in #o) k; |
404 for (var k in { a:1 }) {} | 404 for (var k in { a:1 }) {} |
405 | 405 |
406 break at: | 406 break at: |
| 407 for (var k in o) {} |
| 408 for (var #k in o) k; |
| 409 for (var k in { a:1 }) {} |
| 410 |
| 411 break at: |
407 for (var k in o) k; | 412 for (var k in o) k; |
408 for (var k in #{ a:1 }) {} | 413 for (var k in #{ a:1 }) {} |
409 for (var k in { a:1 }) k; | 414 for (var k in { a:1 }) k; |
410 | 415 |
411 break at: | 416 break at: |
412 for (var k in o) k; | 417 for (var k in o) k; |
413 for (var #k in { a:1 }) {} | 418 for (var #k in { a:1 }) {} |
414 for (var k in { a:1 }) k; | 419 for (var k in { a:1 }) k; |
415 | 420 |
416 break at: | 421 break at: |
(...skipping 17 matching lines...) Expand all Loading... |
434 } | 439 } |
435 | 440 |
436 break at: | 441 break at: |
437 for (var k in { a:1 }) k; | 442 for (var k in { a:1 }) k; |
438 #} | 443 #} |
439 | 444 |
440 | 445 |
441 | 446 |
442 Running test: testSimpleExpressions | 447 Running test: testSimpleExpressions |
443 break at: | 448 break at: |
444 function testSimpleExpressions() { | |
445 #1 + 2 + 3; | |
446 var a = 1; | |
447 | |
448 break at: | |
449 1 + 2 + 3; | 449 1 + 2 + 3; |
450 var a = #1; | 450 var a = #1; |
451 ++a; | 451 ++a; |
452 | 452 |
453 break at: | 453 break at: |
454 var a = 1; | 454 var a = 1; |
455 #++a; | 455 #++a; |
456 a--; | 456 a--; |
457 | 457 |
458 break at: | 458 break at: |
(...skipping 621 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1080 break at: | 1080 break at: |
1081 async function foo() { | 1081 async function foo() { |
1082 await Promise.#resolve(); | 1082 await Promise.#resolve(); |
1083 return 42; | 1083 return 42; |
1084 | 1084 |
1085 break at: | 1085 break at: |
1086 async function foo() { | 1086 async function foo() { |
1087 #await Promise.resolve(); | 1087 #await Promise.resolve(); |
1088 return 42; | 1088 return 42; |
1089 | 1089 |
OLD | NEW |