mirror of
https://github.com/github/codeql.git
synced 2025-12-17 01:03:14 +01:00
JS: Track types of classes in data flow
This commit is contained in:
@@ -29,6 +29,6 @@ class Subclass3 extends Base {
|
||||
this.baseMethod("safe");
|
||||
}
|
||||
subclassMethod(x) {
|
||||
sink(x); // $ SPURIOUS: hasValueFlow=sub1 hasValueFlow=sub2
|
||||
sink(x);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user