Extract override modifier

This commit is contained in:
Tamas Vajk
2022-04-07 09:30:03 +02:00
committed by Ian Lynagh
parent 92de139805
commit 505ccbbcf6
3 changed files with 5 additions and 3 deletions

View File

@@ -703,6 +703,10 @@ open class KotlinFileExtractor(
addModifiers(id, "static")
}
if (f is IrSimpleFunction && f.overriddenSymbols.isNotEmpty()) {
addModifiers(id, "override")
}
return id
}
}