1a13c21377
(cherry picked from commit c0d5df1)
18 lines
303 B
Plaintext
Vendored
18 lines
303 B
Plaintext
Vendored
// "Create extension function 'A.foo'" "true"
|
|
// WITH_RUNTIME
|
|
fun bar(b: Boolean) {
|
|
|
|
}
|
|
|
|
class A(val n: Int)
|
|
|
|
fun test() {
|
|
with(A(1)) {
|
|
bar(foo(n))
|
|
}
|
|
}
|
|
|
|
fun A.foo(n: Int): Boolean {
|
|
TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
|
|
}
|