K2 CLI: wrap module name into angle brackets
This is not a user-visible change, so no issue is created and no tests are added. K1 uses angle brackets, and it will be very convenient to have the same module names in K1 and K2, in particular to compare IR dumps where almost everything is the same (up to a certain point) except the module name.
This commit is contained in:
committed by
Space Team
parent
b6847d0835
commit
8653992ffc
+1
-1
@@ -357,7 +357,7 @@ private fun doCompileWithK2(
|
||||
friendPaths = emptyList()
|
||||
)
|
||||
val session = prepareJvmSessions(
|
||||
sourceFiles, kotlinCompilerConfiguration, projectEnvironment, Name.identifier(rootModuleName), extensionRegistrars,
|
||||
sourceFiles, kotlinCompilerConfiguration, projectEnvironment, Name.special("<$rootModuleName>"), extensionRegistrars,
|
||||
librariesScope, libraryList, isCommonSourceForPsi, fileBelongsToModuleForPsi,
|
||||
createProviderAndScopeForIncrementalCompilation = { files ->
|
||||
createContextForIncrementalCompilation(
|
||||
|
||||
Reference in New Issue
Block a user