Load Java static members from parents

This commit is contained in:
Zalim Bashorov
2015-10-05 19:16:03 +03:00
parent d90585624f
commit ae2831338b
40 changed files with 843 additions and 2 deletions
@@ -0,0 +1,9 @@
fun box(): String {
if (Parent.foo() != "Parent.foo") return "expected: Parent.foo"
if (Parent.baz() != "Parent.baz") return "expected: Parent.baz"
if (Child.foo() != "Parent.foo") return "expected: Child.foo() != Parent.foo"
if (Child.baz() != "Child.baz") return "expected: Child.baz"
if (Child.bar() != "Child.bar") return "expected: Child.bar"
return "OK"
}