e354b2a900
Now we will invalidate bodies for FIR declarations immediately after in-block modifications in these declarations We assume that such in-block modifications can happen only under write action, so it should be safe to make changes for FirFile ^KT-59687 Fixed ^KT-59199 Fixed ^KTIJ-26066 Fixed
19 lines
697 B
Plaintext
19 lines
697 B
Plaintext
BEFORE MODIFICATION:
|
|
public final [ResolvedTo(BODY_RESOLVE)] fun x(): R|kotlin/Unit|
|
|
[R|Contract description]
|
|
<
|
|
>
|
|
{
|
|
{
|
|
R|kotlin/contracts/contract|(<L> = [ResolvedTo(BODY_RESOLVE)] [MatchingParameterFunctionTypeKey=@ExtensionFunctionType kotlin/Function1<kotlin/contracts/ContractBuilder, kotlin/Unit>] contract@fun R|kotlin/contracts/ContractBuilder|.<anonymous>(): R|kotlin/Unit| <inline=Inline, kind=UNKNOWN> {
|
|
<Unresolved name: req>#
|
|
}
|
|
)
|
|
}
|
|
|
|
[ResolvedTo(BODY_RESOLVE)] lval a: R|kotlin/Int| = R|/doSmth|(String(str))
|
|
}
|
|
|
|
AFTER MODIFICATION:
|
|
public final [ResolvedTo(ARGUMENTS_OF_ANNOTATIONS)] fun x(): R|kotlin/Unit| { LAZY_BLOCK }
|