Introduce new naming convention for captured receiver backing fields
'receiver$0' -> '$this_<label>'
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
// LOCAL_VARIABLE_TABLE
|
||||
|
||||
class Foo {
|
||||
fun foo() {
|
||||
block {
|
||||
this@Foo
|
||||
}
|
||||
}
|
||||
|
||||
inner class Bar {
|
||||
fun bar() {
|
||||
block {
|
||||
this@Foo
|
||||
this@Bar
|
||||
|
||||
block {
|
||||
this@Foo
|
||||
this@Bar
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
inline fun block(block: () -> Unit) = block()
|
||||
Reference in New Issue
Block a user