Change test data so IC and non IC warnings count match

When IC is on and new Kotlin class is referencing
new Java class, new Kotlin file is compiled twice,
because JPS thinks new Kotlin class is affected by
new Java class (see https://youtrack.jetbrains.com/issue/KT-20318).

This does not happen when IC is off, and KotlinBuilder
requests chunk rebuild (see previous commit).

I decided to remove the reference, because the issue
is now known, and the reference is non critical for the test.
This commit is contained in:
Alexey Tsvetkov
2017-09-19 08:14:16 +03:00
parent 7a5e0e1107
commit 1c7b8ec938
2 changed files with 1 additions and 3 deletions
@@ -3,11 +3,9 @@ package some
import bad.prefix.KotlinTestInBadPrefix
import good.prefix.KotlinTestInGoodPrefix
import good.prefix.JavaTest;
import test.JavaRef
val goodTest = KotlinTestInGoodPrefix()
val badTest = KotlinTestInBadPrefix()
val javaTest = JavaTest().bar()
val javaRef = JavaRef().foo(null)