Alexandru Nedelcu
05/07/2023, 7:17 AM-Xcontext-receivers
? 🙂simon.vergauwen
05/07/2023, 7:42 AMwith
in the Std instead of having to define it ourselves.Alexandru Nedelcu
05/07/2023, 7:44 AMe: org.jetbrains.kotlin.backend.common.BackendException: Backend Internal error: Exception during IR lowering
File being compiled: .../UserPatchRequest.kt
The root cause java.lang.RuntimeException was thrown at: org.jetbrains.kotlin.backend.jvm.codegen.FunctionCodegen.generate(FunctionCodegen.kt:51)
simon.vergauwen
05/07/2023, 9:08 AMsuspend
instead of inline
.
I’m super excited for context receivers, and am hoping we’ll get alpha or beta in 2.1 🤞 next yearCLOVIS
05/07/2023, 8:54 PMI don’t expect the syntax to change tbh. Hopefully we’ll get (poly) n-arityI don't think we'll get multi-arityin the Std instead of having to define it ourselves.with
with
at all. The with val
syntax in the KEEP looks much better to me, but they plan on designing it as a second step. I don't see them introducing multi-arity with
with it as a future possibility.thanh
05/08/2023, 8:45 AMGiulio Caccin
05/08/2023, 10:22 AM