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
}
@@ -34,5 +36,7 @@ fun box(): String {
if (A.(A::test4)() != "1OK") return "fail 4"
if (((A::c).get(A)) != "OK") return "fail 5"
return "OK"
}