Fixed
Status Update
Comments
as...@google.com <as...@google.com> #2
The approximate IR generated:
val action by {
val action%delegate = data::action
get() {
return action%delegate.getValue(null, ::action%delegate)
}
}
%composer.cache(%composer.changedInstance(action%delegate)) {
{
<get-action>()
}
}
It seems like we are keying based on action$delegate
variable which we technically shouldn't have access to. The correct transform is to lift data::action
into a local and use it for both delegate and the key.
Description
Kotlin version: 2.0.0
Stacktrace