<@U0CP8EBRV> I get the receiver version of run. Bu...
# announcements
o
@Czar I get the receiver version of run. But what is simple "run" which just executes block?
c
Again, syntactic sugar. Consider this example:
Copy code
val someVal = somethingNullable ?: run {
	//construct alternative for somethingNullable
}
a
I’d say it’s more than syntactic sugar, because it also changes what
this
is inside the block
c
Yes, it does, I meant it in terms of why not how.