Mike R
07/28/2019, 11:35 PMwith(...) { }? It was error-free until I changed it to
with(...) { sf -> ... }
and now IntelliJ says Expected no parametersMark Murphy
07/28/2019, 11:37 PMthis (the "receiver") -- you cannot change that nameMike R
07/28/2019, 11:39 PMwith within the scope of an apply block, is there a way to specify which this I'm referring to?Mark Murphy
07/28/2019, 11:40 PMthis@apply and this@with let you identify the particular this that you wantMike R
07/28/2019, 11:41 PM@ labels weren't valid 😛Mike R
07/28/2019, 11:57 PMdiesieben07
07/29/2019, 6:21 AMval (that's how you give a name to things). imhoMike
07/29/2019, 4:43 PMalso rather than apply and you can rename it. Of course it does mean that everything now has to reference a variable name for the apply/also receiver.