IC: take into account added and removed classes when calculate affected names

This commit is contained in:
Zalim Bashorov
2016-03-24 20:59:30 +03:00
parent 1b2deb8a8a
commit 51c6abdbed
142 changed files with 1692 additions and 30 deletions
@@ -0,0 +1,28 @@
================ Step #1 =================
Cleaning output files:
out/production/module/META-INF/module.kotlin_module
out/production/module/foo/Foo2Kt.class
End of files
Compiling files:
src/foo3.kt
End of files
Exit code: ADDITIONAL_PASS_REQUIRED
------------------------------------------
Cleaning output files:
out/production/module/META-INF/module.kotlin_module
out/production/module/foo/Foo0Kt.class
out/production/module/foo/Foo1Kt.class
out/production/module/other/OtherKt.class
out/production/module/use/UseFKt.class
out/production/module/use/UseGKt.class
End of files
Compiling files:
src/foo0.kt
src/foo1.kt
src/other.kt
src/useF.kt
src/useG.kt
End of files
Exit code: OK
------------------------------------------
@@ -0,0 +1,25 @@
================ Step #1 =================
Cleaning output files:
out/production/module/META-INF/module.kotlin_module
out/production/module/foo/Foo2Kt.class
End of files
Compiling files:
src/foo3.kt
End of files
Marked as dirty by Kotlin:
src/foo1.kt
src/useF.kt
Exit code: ADDITIONAL_PASS_REQUIRED
------------------------------------------
Cleaning output files:
out/production/module/META-INF/module.kotlin_module
out/production/module/foo/Foo1Kt.class
out/production/module/use/UseFKt.class
End of files
Compiling files:
src/foo1.kt
src/useF.kt
End of files
Exit code: OK
------------------------------------------
@@ -0,0 +1,3 @@
package foo
fun g(a: Any) {}
@@ -0,0 +1,3 @@
package foo
fun f(a: Any) {}
@@ -0,0 +1,3 @@
package foo
fun f(a: Int) {}
@@ -0,0 +1,3 @@
package foo
fun f(a: Int) {}
@@ -0,0 +1,3 @@
package other
fun f() {}
@@ -0,0 +1,7 @@
package use
import foo.*
fun useF() {
f(1)
}
@@ -0,0 +1,7 @@
package use
import foo.*
fun useG() {
g(1)
}