Incremental compilation support for multifile classes.
This commit is contained in:
Vendored
+6
@@ -0,0 +1,6 @@
|
||||
@file:[JvmName("Test") JvmMultifileClass]
|
||||
|
||||
val property = "K"
|
||||
|
||||
inline fun K(body: () -> String): String =
|
||||
body() + property
|
||||
Vendored
+4
@@ -0,0 +1,4 @@
|
||||
fun main(args: Array<String>) {
|
||||
val ok = K { "O" }
|
||||
if (ok != "OK") throw java.lang.AssertionError("Expected: OK, actual: $ok")
|
||||
}
|
||||
Reference in New Issue
Block a user