Support platformStatic for properties

#KT-5766 Fixed
This commit is contained in:
Michael Bogdanov
2014-11-14 15:48:45 +03:00
parent 5412a67d29
commit 2cc9d8e29b
24 changed files with 450 additions and 165 deletions
@@ -4,6 +4,8 @@ object A {
val b: String = "OK"
platformStatic val c: String = "OK"
platformStatic fun test1() : String {
return b
}
@@ -36,5 +38,7 @@ fun box(): String {
if (with(A) {"1".test5()} != "1OK") return "fail 5"
if (A.c != "OK") return "fail 6"
return "OK"
}