Skip to content

Commit 4473e6d

Browse files
committed
JS: Update test with some post-update consistency checks gone
For a constructor call, the return value acts as the post-update node for the 'this' argument. The fact that constructor calls are sometimes PostUpdateNodes causes some of these harmless alerts. The warnings have disappeared in some cases because we no longer target getALocalSource() so the target is no longer the constructor call.
1 parent cb87494 commit 4473e6d

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

javascript/ql/test/library-tests/FlowSummary/DataFlowConsistency.expected

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -33,14 +33,6 @@ postWithInFlow
3333
| file://:0:0:0:0 | [summary] to write: Argument[this] in Array#forEach / Map#forEach / Set#forEach | PostUpdateNode should not be the target of local flow. |
3434
| file://:0:0:0:0 | [summary] to write: Argument[this] in Array#map | PostUpdateNode should not be the target of local flow. |
3535
| file://:0:0:0:0 | [summary] to write: Argument[this] in Array#reduce / Array#reduceRight | PostUpdateNode should not be the target of local flow. |
36-
| tst.js:97:24:97:74 | new Pro ... rce())) | PostUpdateNode should not be the target of local flow. |
37-
| tst.js:100:3:100:53 | new Pro ... rce())) | PostUpdateNode should not be the target of local flow. |
38-
| tst.js:101:3:101:53 | new Pro ... rce())) | PostUpdateNode should not be the target of local flow. |
39-
| tst.js:102:3:102:52 | new Pro ... rce())) | PostUpdateNode should not be the target of local flow. |
40-
| tst.js:103:3:103:52 | new Pro ... rce())) | PostUpdateNode should not be the target of local flow. |
41-
| tst.js:250:15:250:23 | new Map() | PostUpdateNode should not be the target of local flow. |
42-
| tst.js:258:16:258:24 | new Map() | PostUpdateNode should not be the target of local flow. |
43-
| tst.js:264:16:264:24 | new Map() | PostUpdateNode should not be the target of local flow. |
4436
viableImplInCallContextTooLarge
4537
uniqueParameterNodeAtPosition
4638
uniqueParameterNodePosition

0 commit comments

Comments
 (0)