Slackbot
10/15/2026, 9:16 AMYoussef Shoaib [MOD]
10/15/2026, 9:24 AMB is generated by a compiler plugin, then you don't need to worry about parameter naming, overload resolution, or any of that. Just do it in IRephemient
10/15/2026, 9:25 AMfun <T> Int.with() {
return with(IntExt) with2@{ this@with.with() }
}
(with2@ is needed to prevent this@with from using it)ephemient
10/15/2026, 9:28 AMephemient
10/15/2026, 9:29 AMephemient
10/15/2026, 9:31 AMlistOf(1, 2, 3).map { return@map it }
because implicitly the unlabeled lambda gets its label from the function that it is given to
listOf(1, 2, 3).map map@{ return@map it }
but you can explicitly set the name
listOf(1, 2, 3).map foobar@{ return@foobar it }
and collisions are fine, otherwise map { map { ... } } would be a problemephemient
10/15/2026, 9:34 AM