[Analysis API FIR] Use stable module name when mangling internal name

^KTIJ-25046
This commit is contained in:
aleksandrina-streltsova
2023-04-26 12:30:25 +03:00
committed by teamcity
parent a7396d8c10
commit c956b4aeae
4 changed files with 13 additions and 3 deletions
@@ -92,6 +92,13 @@ public sealed interface KtModule {
public interface KtSourceModule : KtModule {
public val moduleName: String
/**
* A stable binary name of module from the *Kotlin* point of view.
* Having correct module name is critical for `internal`-visibility mangling. See [org.jetbrains.kotlin.asJava.mangleInternalName]
*/
public val stableModuleName: String?
get() = null
override val moduleDescription: String
get() = "Sources of $moduleName"