Fix: not loading ancestor packages from incremental cache.

This commit is contained in:
Evgeny Gerashchenko
2014-09-19 16:12:25 +04:00
parent 9af1c3e4dc
commit b435904d7f
6 changed files with 59 additions and 9 deletions
@@ -0,0 +1,8 @@
Cleaning output files:
out/production/module/outer/nested/NestedPackage$main$1.class
out/production/module/outer/nested/NestedPackage-nested-*.class
out/production/module/outer/nested/NestedPackage.class
End of files
Compiling files:
src/nested.kt
End of files
@@ -0,0 +1,12 @@
package outer.nested
import outer.f
fun g() {
}
fun main(args: Array<String>) {
f { }
g()
}
@@ -0,0 +1,12 @@
package outer.nested
import outer.f
fun g() {
}
fun main(args: Array<String>) {
f { }
g()
}
@@ -0,0 +1,7 @@
package outer
fun f(c: () -> Unit) {
}
fun <T> f(c: () -> T): String = ""