JS: Track types of classes in data flow

This commit is contained in:
Asger F
2025-02-14 12:39:57 +01:00
parent d3c4b5d493
commit ff7bc7c25e
2 changed files with 34 additions and 6 deletions

View File

@@ -29,6 +29,6 @@ class Subclass3 extends Base {
this.baseMethod("safe");
}
subclassMethod(x) {
sink(x); // $ SPURIOUS: hasValueFlow=sub1 hasValueFlow=sub2
sink(x);
}
}