mirror of
https://github.com/github/codeql.git
synced 2026-04-25 16:55:19 +02:00
Update VariableCapture.qll
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user