Fir2IrLazyPropertyAccessor: make inline iff FIR accessor is inline
This commit is contained in:
committed by
Alexander Udalov
parent
d27a0c91f6
commit
fda5ee7d06
@@ -35,6 +35,10 @@ class Fir2IrLazyPropertyAccessor(
|
|||||||
override val fir: FirMemberDeclaration
|
override val fir: FirMemberDeclaration
|
||||||
get() = firAccessor ?: firParentProperty
|
get() = firAccessor ?: firParentProperty
|
||||||
|
|
||||||
|
// TODO: investigate why some deserialized properties are inline
|
||||||
|
override val isInline: Boolean
|
||||||
|
get() = firAccessor?.isInline == true
|
||||||
|
|
||||||
override var annotations: List<IrConstructorCall> by createLazyAnnotations()
|
override var annotations: List<IrConstructorCall> by createLazyAnnotations()
|
||||||
|
|
||||||
override val name: Name
|
override val name: Name
|
||||||
|
|||||||
Reference in New Issue
Block a user