phldavies
07/19/2024, 3:10 PMExperimental context receivers are deprecated and will be superseded by context parameters. Please don't use context receivers. You can either pass parameters explicitly or use members with extensions.
>
> See new context parameters proposal: <https://github.com/Kotlin/KEEP/blob/context-parameters/proposals/context-parameters.md>. During the transition period, neither context receivers nor context parameters will be supported. This warning will become an error in future releases.
As a quick straw poll, how are most of us context-receivers
lovers expecting to handle the migration?
1️⃣ go full ostrich, ignore it, stick to the last kotlin version that supports context-receivers
and hope we can wait out the kotlin release that enables context-parameters
2️⃣ stop using context-receivers
for the time being, revert to .bind()
et al, or where possible use Raise<E>
as an extension receiver
😭 find a corner and cry until it all blows overKev
07/19/2024, 3:22 PMphldavies
07/19/2024, 3:36 PMJon Bailey
07/19/2024, 4:07 PMFred Friis
07/22/2024, 8:09 PMRiccardo Cardin
07/23/2024, 6:34 AM