Pull Up: Java -> Kotlin interoperability

#KT-5803 Fixed
This commit is contained in:
Alexey Sedunov
2015-08-06 16:20:12 +03:00
parent 556285f2c7
commit 7125989c69
50 changed files with 1337 additions and 337 deletions
@@ -0,0 +1,17 @@
class T {
class U {
open class A
}
}
fun test() {
val b = object : B() {
override fun bar(s: String) = s.length()
}
val t1 = b.x
b.x = t1 + 1
val t2 = B.X
b.foo(1)
B.foo2(2)
B.Y()
}