mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-16 00:21:32 +00:00
15 lines
246 B
Kotlin
Vendored
15 lines
246 B
Kotlin
Vendored
fun Any.foo() {
|
|
with("different extension receiver") {
|
|
<lineMarker>foo</lineMarker>()
|
|
}
|
|
}
|
|
|
|
|
|
class Klass(p: String) {
|
|
private fun bar() {
|
|
with(Klass("different dispatch receiver")) {
|
|
bar()
|
|
}
|
|
}
|
|
}
|