Fixed redeclaration from incremental compilation. Added workaround for JPS bug.

This commit is contained in:
Evgeny Gerashchenko
2014-08-27 18:15:05 +04:00
parent 76864a3eb0
commit 3226093fa6
14 changed files with 119 additions and 6 deletions
@@ -0,0 +1,15 @@
Cleaning output files:
out/production/module2/b/BPackage-module2_b-*.class
out/production/module2/b/BPackage.class
End of files
Compiling files:
module2/src/module2_b.kt
End of files
Cleaning output files:
out/production/module1/a/A.class
out/production/module1/a/APackage-module1_a-*.class
out/production/module1/a/APackage.class
End of files
Compiling files:
module1/src/module1_a.kt
End of files
@@ -0,0 +1,2 @@
module1->module2
module2->module1
@@ -0,0 +1,9 @@
package a
class A
fun a() {
// TODO: this call is compiled via package facade or package part depending on if callee comes from compiled or source
// Must be uncommented when modules are supported in compiler
//b.b()
}
@@ -0,0 +1,7 @@
package b
fun b() {
// TODO: this call is compiled via package facade or package part depending on if callee comes from compiled or source
// Must be uncommented when modules are supported in compiler
// a.a()
}
@@ -0,0 +1,11 @@
package b
fun b() {
// TODO: this call is compiled via package facade or package part depending on if callee comes from compiled or source
// Must be uncommented when modules are supported in compiler
// a.a()
}
fun bb() {
}