Add delegated property declaration test

This commit is contained in:
Tamas Vajk
2022-03-09 10:33:26 +01:00
committed by Ian Lynagh
parent a6326b69dc
commit 126d780f34
5 changed files with 156 additions and 39 deletions

View File

@@ -736,6 +736,9 @@ open class KotlinFileExtractor(
if (bf != null && extractBackingField) {
val fieldId = extractField(bf, parentId)
tw.writeKtPropertyBackingFields(id, fieldId)
if (p.isDelegated) {
tw.writeKtPropertyDelegates(id, fieldId)
}
}
extractVisibility(p, id, p.visibility)