mirror of
https://github.com/github/codeql.git
synced 2025-12-18 09:43:15 +01:00
Kotlin: Add static modifier to clinit
This commit is contained in:
@@ -723,6 +723,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