mirror of
https://github.com/github/codeql.git
synced 2026-04-30 11:15:13 +02:00
Refactor metaclass logic a bit, ensure lambdas are excluded
This commit is contained in:
@@ -14,7 +14,7 @@ module MethodArgTest implements TestSig {
|
||||
firstArgShouldBeNamedSelfAndIsnt(f) and
|
||||
tag = "shouldBeSelf"
|
||||
or
|
||||
firstArgShouldBeNamedClsAndIsnt(f) and
|
||||
firstArgShouldReferToClsAndDoesnt(f) and
|
||||
tag = "shouldBeCls"
|
||||
)
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user