Make generated invoke/get/set public

The generated `invoke`/`get`/`set` methods are implementing interface members, so they need to be `public`.
This commit is contained in:
Tamas Vajk
2022-03-18 14:44:46 +01:00
committed by Ian Lynagh
parent 878352f69c
commit 91b7de42ad
2 changed files with 34 additions and 0 deletions

View File

@@ -3216,6 +3216,8 @@ open class KotlinFileExtractor(
tw.writeMethodsKotlinType(methodId, rt.kotlinResult.id)
tw.writeHasLocation(methodId, locId)
addModifiers(methodId, "public")
// Block
val blockId = tw.getFreshIdLabel<DbBlock>()
tw.writeStmts_block(blockId, methodId, 0, methodId)