-
Notifications
You must be signed in to change notification settings - Fork 450
Labels
enhancementAn issue for a feature or an overall improvementAn issue for a feature or an overall improvementtopic: K2Issues / PRs that are related to the K2 migration. See #2888Issues / PRs that are related to the K2 migration. See #2888
Milestone
Description
Different source sets should have disjoint source roots.
Otherwise, it causes
Modules are inconsistent
org.jetbrains.kotlin.utils.exceptions.KotlinIllegalStateExceptionWithAttachments: Modules are inconsistent
at org.jetbrains.kotlin.analysis.low.level.api.fir.file.builder.LLFirFileBuilder$buildRawFirFileWithCaching$1.invoke(LLFirFileBuilder.kt:56)
Reproducer: add two source sets with the same source root.
Note: It can complicate the StdLib setting.
Metadata
Metadata
Assignees
Labels
enhancementAn issue for a feature or an overall improvementAn issue for a feature or an overall improvementtopic: K2Issues / PRs that are related to the K2 migration. See #2888Issues / PRs that are related to the K2 migration. See #2888