Update VariableCapture.qll

This commit is contained in:
Asger F
2024-03-13 15:16:37 +01:00
parent 97567f412e
commit bb1f729a3f

View File

@@ -130,8 +130,6 @@ module VariableCaptureConfig implements InputSig<js::Location> {
Callable getEnclosingCallable() { result = this.getContainer().getFunctionBoundary() }
}
class Location = js::Location;
class Callable extends js::StmtContainer {
predicate isConstructor() {
// TODO: clarify exactly what the library wants to know here as the meaning of "constructor" varies between languages.