8 lines
179 B
Kotlin
Vendored
8 lines
179 B
Kotlin
Vendored
// !LANGUAGE: +ContextReceivers
|
|
|
|
class A(val a: String?)
|
|
|
|
context(A) fun f() {
|
|
if (this<!UNRESOLVED_LABEL!>@A<!>.a == null) return
|
|
this<!UNRESOLVED_LABEL!>@A<!>.a.length
|
|
} |