Control-Flow: Fix pseudocode generation for combined get/set and invoke conventions

#KT-4462 Fixed
 #KT-4681 Fixed
This commit is contained in:
Alexey Sedunov
2015-05-19 15:09:03 +03:00
parent fa29e75add
commit 868329e3cb
15 changed files with 706 additions and 10 deletions
@@ -0,0 +1,13 @@
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
}