Got rid of "namespace" word in test data.

This commit is contained in:
Evgeny Gerashchenko
2014-01-10 23:42:19 +04:00
parent ee3312fb00
commit 958f7c862d
102 changed files with 302 additions and 306 deletions
@@ -0,0 +1,45 @@
// KT-2202 Wrong instruction for invoke private setter
class A {
private fun f1() { }
fun foo() {
f1()
}
}
class B {
private val foo = 1
get
fun foo() {
foo
}
}
class C {
private var foo = 1
get
set
fun foo() {
foo = 2
foo
}
}
class D {
var foo = 1
private set
fun foo() {
foo = 2
}
}
fun box(): String {
A().foo()
B().foo()
C().foo()
D().foo()
return "OK"
}