mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-10 15:53:46 +00:00
Initial problem is started in `capturedBoundReferenceReceiver` method where we assume that bound receiver is captured for usual call. Note that if method is inline then we don't pass actual name reference receiver, but pass special CAPTURED_RECEIVER_FIELD, which is then is used to find special instructions during inline and fold several instructions in `foldFieldAccessChainIfNeeded`. As a result, we got unboxed reference receiver for inline call, which caused CCE and to fix it we should box receiver one more time during inline #KT-28188 Fixed
1.8 KiB
Vendored
1.8 KiB
Vendored