We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c3c003b commit 8dc0505Copy full SHA for 8dc0505
1 file changed
javascript/ql/test/library-tests/TripleDot/useuse.js
@@ -51,3 +51,14 @@ function t4() {
51
const c = new C(source('t4.1'));
52
sink(c.foo); // $ hasValueFlow=t4.1
53
}
54
+
55
+function t5() {
56
+ class C {
57
+ field = source('t5.1')
58
+ constructor() {
59
+ sink(this.field); // $ hasValueFlow=t5.1
60
+ }
61
62
+ const c = new C();
63
+ sink(c.field); // $ MISSING: hasValueFlow=t5.1
64
+}
0 commit comments