[LL FIR] LLFirContractsLazyResolver: avoid transformation for primary constructors
Primary constructors can't have any contracts. This change also should improve memory consumption because we will less frequently calculate bodies. ^KT-55750
This commit is contained in:
committed by
Space Team
parent
d5047bfa90
commit
850201a65c
Vendored
+2
-2
@@ -9,11 +9,11 @@ FIR FILE:
|
||||
FILE: [ResolvedTo(IMPORTS)] annotationOnConstructorProperty.kt
|
||||
public final [ResolvedTo(STATUS)] class Abc : R|kotlin/Any| {
|
||||
public [ResolvedTo(ANNOTATIONS_ARGUMENTS_MAPPING)] [ContainingClassKey=Abc] constructor([ResolvedTo(ANNOTATIONS_ARGUMENTS_MAPPING)] [CorrespondingProperty=/Abc.i] @<ERROR TYPE REF: Symbol not found for Anno>[Types]() i: R|kotlin/Int|): R|Abc| {
|
||||
super<R|kotlin/Any|>()
|
||||
LAZY_super<R|kotlin/Any|>
|
||||
}
|
||||
|
||||
public final [ResolvedTo(STATUS)] [IsFromPrimaryConstructor=true] var i: R|kotlin/Int| = R|<local>/i|
|
||||
public [ResolvedTo(STATUS)] [ContainingClassKey=Abc] get(): R|kotlin/Int|
|
||||
public [ResolvedTo(STATUS)] [ContainingClassKey=Abc] set([ResolvedTo(STATUS)] value: R|kotlin/Int|): R|kotlin/Unit|
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user