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

View File

@@ -5,6 +5,8 @@ class A {
class object {
val b: String = "OK"
platformStatic val c: String = "OK"
platformStatic fun test1() = b
platformStatic fun test2() = b
@@ -20,5 +22,7 @@ fun box(): String {
if (Test.test3() != "JAVAOK") return "fail 3"
if (Test.test4() != "OK") return "fail 4"
return "OK"
}