mirror of
https://github.com/github/codeql.git
synced 2025-12-20 10:46:30 +01:00
Kotlin: Enable java/misnamed-type query
We used to get alerts for the class around a local function, a lambda, or a function reference, which we give name "". Now those are marked as compiler-generated, and the query ignores compiler-generated types.
This commit is contained in:
@@ -71,6 +71,8 @@ class Element extends @element, Top {
|
||||
i = 11 and result = "Forwarder for a Kotlin class inheriting an interface default method"
|
||||
or
|
||||
i = 12 and result = "Argument for enum constructor call"
|
||||
or
|
||||
i = 13 and result = "The class around a local function, a lambda, or a function reference"
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user