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 cab8a40 commit 8bca664Copy full SHA for 8bca664
javascript/ql/test/library-tests/TypeTracking2/summaries.js
@@ -43,3 +43,13 @@ function m4() {
43
sink(fn({ p: obj }));
44
sink(fn({ p: obj }).q); // $ track=m4.1
45
}
46
+
47
+function m5() {
48
+ // Store and read to a property that isn't mentioned anywhere in the source code.
49
+ const store = mkSummary("Argument[0]", "ReturnValue.Member[propOnlyMentionedInSummary]");
50
+ const read = mkSummary("Argument[0].Member[propOnlyMentionedInSummary]", "ReturnValue");
51
+ sink(read(store(source("m5.1")))); // $ MISSING: track=m5.1
52
+ sink(read(source("m5.1")));
53
+ sink(store(source("m5.1")));
54
+ sink(store(read(source("m5.1"))));
55
+}
0 commit comments