mirror of
https://github.com/github/codeql.git
synced 2025-12-22 11:46:32 +01:00
Merge pull request #10860 from tamasvajk/kotlin-clinit-static
Kotlin: Add `static` modifier to `clinit`
This commit is contained in:
@@ -733,6 +733,8 @@ open class KotlinFileExtractor(
|
||||
val locId = tw.getWholeFileLocation()
|
||||
tw.writeHasLocation(clinitId, locId)
|
||||
|
||||
addModifiers(clinitId, "static")
|
||||
|
||||
// add and return body block:
|
||||
Pair(extractBlockBody(clinitId, locId), clinitId)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user