Pull Up: Kotlin -> Java interoperability

This commit is contained in:
Alexey Sedunov
2015-08-04 15:02:50 +03:00
committed by Alexey Sedunov
parent ffc56a7c31
commit a9783ffe81
55 changed files with 733 additions and 91 deletions
@@ -0,0 +1,25 @@
// WITH_RUNTIME
abstract class <caret>B: T.A() {
// INFO: {"checked": "true"}
val x = 1
// INFO: {"checked": "true"}
val y: Int get() = 2
// INFO: {"checked": "true"}
val z: Int by lazy { 3 }
// INFO: {"checked": "true"}
abstract val t: Int
// INFO: {"checked": "true"}
fun foo(n: Int): Boolean = n > 0
// INFO: {"checked": "true"}
abstract fun bar(s: String)
// INFO: {"checked": "true"}
inner class X {
}
// INFO: {"checked": "true"}
class Y {
}
}