kotlin-jlink-examples
kotlin-jlink-examples copied to clipboard
IntelliJ wrongly detects module errors in test sources
In the Maven project, in Test.kt, IntelliJ displays a lint error on references to junit:
Symbol is declared in module 'kotlin.test' which current module does not depend on
This doesn't affect builds, just developer experience in IntelliJ. I suspect it might even be a local configuration issue or an IntelliJ bug, but I wanted to raise this here first to see if anyone else is seeing this and/or knows how to resolve it before investigating further.
Thanks for noticing this. It looks like a problem in Kotlin plugin, I've reported it as https://youtrack.jetbrains.com/issue/KT-41317