Compiler: restore an opportunity to switch light tree mode OFF

#KT-55996 Fixed
This commit is contained in:
Mikhail Glukhikh
2023-01-18 09:16:35 +01:00
committed by Space Team
parent 5aef179a3d
commit c8db20bd0b
7 changed files with 40 additions and 1 deletions
@@ -46,7 +46,7 @@ fun <A : CommonCompilerArguments> CompilerConfiguration.setupCommonArguments(
val usesK2 = arguments.useK2 || languageVersionSettings.languageVersion.usesK2
put(CommonConfigurationKeys.USE_FIR, usesK2)
put(CommonConfigurationKeys.USE_LIGHT_TREE, usesK2)
put(CommonConfigurationKeys.USE_LIGHT_TREE, arguments.useFirLT)
}
fun <A : CommonCompilerArguments> CompilerConfiguration.setupLanguageVersionSettings(arguments: A) {