mirror of
https://github.com/github/codeql.git
synced 2025-12-17 17:23:36 +01:00
Kotlin: Give fields a Kotlin type
This meant refactoring the EnumEntry extraction a bit. The IR doesn't give us a type for fields, so we have to make it up based on the parent.
This commit is contained in:
@@ -20,7 +20,7 @@ predicate hasName(Element e, string name) {
|
||||
or
|
||||
methods(e, name, _, _, _, _)
|
||||
or
|
||||
fields(e, name, _, _, _)
|
||||
fields(e, name, _, _, _, _)
|
||||
or
|
||||
packages(e, name)
|
||||
or
|
||||
|
||||
Reference in New Issue
Block a user