You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
Copy file name to clipboardExpand all lines: javascript/ql/test/library-tests/FlowSummary/DataFlowConsistency.expected
-8Lines changed: 0 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -33,14 +33,6 @@ postWithInFlow
33
33
| 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. |
34
34
| file://:0:0:0:0 | [summary] to write: Argument[this] in Array#map | PostUpdateNode should not be the target of local flow. |
35
35
| 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. |
0 commit comments