File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed
javascript/ql/test/library-tests/frameworks/Collections Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -26,6 +26,7 @@ typeTracking
26
26
| tst.js:2:16:2:23 | source() | tst.js:37:14:37:14 | e |
27
27
| tst.js:2:16:2:23 | source() | tst.js:41:14:41:14 | e |
28
28
| tst.js:2:16:2:23 | source() | tst.js:45:14:45:14 | e |
29
+ | tst.js:2:16:2:23 | source() | tst.js:49:14:49:14 | e |
29
30
| tst.js:2:16:2:23 | source() | tst.js:53:8:53:21 | map.get("key") |
30
31
| tst.js:2:16:2:23 | source() | tst.js:59:8:59:22 | map2.get("foo") |
31
32
| tst.js:2:16:2:23 | source() | tst.js:64:8:64:26 | map3.get(unknown()) |
Original file line number Diff line number Diff line change 47
47
}
48
48
49
49
for ( const e of Array . from ( set ) ) {
50
- sink ( e ) ; // NOT OK (not caught by type-tracking, as it doesn't include array steps).
50
+ sink ( e ) ; // NOT OK
51
51
}
52
52
53
53
sink ( map . get ( "key" ) ) ; // NOT OK.
You can’t perform that action at this time.
0 commit comments