99ba340236
#KT-11799 Fixed
18 lines
311 B
Plaintext
Vendored
18 lines
311 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))
|
|
}
|
|
}
|
|
|
|
private fun A.foo(n: Int): Boolean {
|
|
TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
|
|
}
|