[IR] Restore old Psi2IrTranslator constructor for older IDEs
^KT-54115 ^KT-53649
This commit is contained in:
@@ -45,6 +45,12 @@ class Psi2IrTranslator(
|
||||
val configuration: Psi2IrConfiguration,
|
||||
private val checkNoUnboundSymbols: (SymbolTable, String) -> Unit
|
||||
) {
|
||||
@Deprecated("Only for backward compatibility with older versions of IDE", level = DeprecationLevel.ERROR)
|
||||
constructor(
|
||||
languageVersionSettings: LanguageVersionSettings,
|
||||
configuration: Psi2IrConfiguration
|
||||
) : this(languageVersionSettings, configuration, checkNoUnboundSymbols = { _, _ -> })
|
||||
|
||||
private val postprocessingSteps = SmartList<Psi2IrPostprocessingStep>()
|
||||
|
||||
fun addPostprocessingStep(step: Psi2IrPostprocessingStep) {
|
||||
|
||||
Reference in New Issue
Block a user