Simplified process of filtering out obsolete package parts and loading descriptors from incremental caches.

Now when file is deleted or dirty (compiled right now), its old package part is used. Current package of file doesn't matter.
This commit is contained in:
Evgeny Gerashchenko
2015-02-03 17:18:17 +03:00
parent 512ea72e69
commit f071802e19
23 changed files with 176 additions and 62 deletions
@@ -0,0 +1,30 @@
Cleaning output files:
out/production/module/_DefaultPackage$other$*.class
out/production/module/_DefaultPackage$usage$*.class
out/production/module/_DefaultPackage.class
End of files
Compiling files:
src/other.kt
src/usage.kt
End of files
COMPILATION FAILED
Expecting an expression
Cleaning output files:
out/production/module/_DefaultPackage$fun$*.class
End of files
Compiling files:
src/fun.kt
src/other.kt
src/usage.kt
End of files
Cleaning output files:
out/production/module/_DefaultPackage$fun$*.class
out/production/module/_DefaultPackage$usage$*.class
out/production/module/_DefaultPackage.class
End of files
Compiling files:
src/fun.kt
src/usage.kt
End of files
@@ -0,0 +1,5 @@
package new
fun other() {
}
@@ -0,0 +1,3 @@
fun main(args: Array<String>) {
f()
}
@@ -0,0 +1,3 @@
fun main(args: Array<String>) {
f(
}
@@ -0,0 +1,3 @@
fun main(args: Array<String>) {
f()
}