868329e3cb
#KT-4462 Fixed #KT-4681 Fixed
13 lines
184 B
Kotlin
Vendored
13 lines
184 B
Kotlin
Vendored
class Bar {
|
|
fun invoke(x: Int): Int = x
|
|
fun invoke(x: Int, y: Int) {}
|
|
}
|
|
|
|
class Foo {
|
|
val get: Bar = Bar()
|
|
val set: Bar = Bar()
|
|
}
|
|
|
|
fun test(foo: Foo) {
|
|
foo[1] += 2
|
|
} |