Partial compilation of package (only functions supported).

This commit is contained in:
Evgeny Gerashchenko
2014-01-28 22:56:16 +04:00
parent 00c2bd60e5
commit d62bc07437
29 changed files with 393 additions and 83 deletions
@@ -0,0 +1,9 @@
package test
fun foo() {
bar(5)
baz()
}
fun baz() {
}
@@ -0,0 +1,9 @@
package test
fun foo() {
bar(4)
baz()
}
fun baz() {
}
@@ -0,0 +1,9 @@
package test
fun bar(i: Int): String {
return "$i ${quux()} $i"
}
fun quux(): String {
return "quux"
}
@@ -0,0 +1,12 @@
Cleaning output files:
out/production/module/test/TestPackage-a-*.class
End of files
Compiling files:
src/a.kt
End of files
Cleaning output files:
out/production/module/test/TestPackage-b-*.class
End of files
Compiling files:
src/b.kt
End of files