We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 13e3a51 commit fc5b9e2Copy full SHA for fc5b9e2
javascript/ql/test/library-tests/TypeTracking/summarize.js
@@ -12,11 +12,16 @@ function store(x) {
12
function loadStore(x) {
13
return { storeProp: x.loadProp };
14
}
15
+function loadStore2(x) {
16
+ let mid = x.loadProp;
17
+ return { storeProp: mid };
18
+}
19
20
identity({});
21
load({});
22
store({});
23
loadStore({});
24
+loadStore2({});
25
26
const obj = {}; // name: obj
27
@@ -31,3 +36,6 @@ x.storeProp; // track: obj
31
36
32
37
x = loadStore({ loadProp: obj });
33
38
x.storeProp; // track: obj
39
+
40
+x = loadStore2({ loadProp: obj });
41
+x.storeProp; // track: obj
0 commit comments