Wrong instruction for invoke private function

#KT-2202 Fixed
This commit is contained in:
Natalia.Ukhorskaya
2012-11-02 11:49:10 +04:00
parent a9c567d19b
commit 91e83c2860
12 changed files with 191 additions and 50 deletions
@@ -0,0 +1,18 @@
// KT-2202 Wrong instruction for invoke private setter
class A {
private fun f1() {}
fun foo() {
f1()
}
}
class B {
var foo = 1
private set
fun foo() {
foo = 2
}
}