mirror of
https://github.com/github/codeql.git
synced 2026-04-29 18:55:14 +02:00
made the blacklist for methods named "function" work again
This commit is contained in:
@@ -52,7 +52,7 @@ where
|
||||
// The developer was not confused about "function" when there are other methods in the interface.
|
||||
name = "function" and
|
||||
exists(MethodDeclaration other | other = container.getAMethod() |
|
||||
name != "function" and
|
||||
other.getName() != "function" and
|
||||
not other.(ConstructorDeclaration).isSynthetic()
|
||||
)
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user