diff --git a/compiler/ir/ir.interpreter/src/org/jetbrains/kotlin/ir/interpreter/checker/IrInterpreterCommonChecker.kt b/compiler/ir/ir.interpreter/src/org/jetbrains/kotlin/ir/interpreter/checker/IrInterpreterCommonChecker.kt index 8b5d6aab212..ed87b48437d 100644 --- a/compiler/ir/ir.interpreter/src/org/jetbrains/kotlin/ir/interpreter/checker/IrInterpreterCommonChecker.kt +++ b/compiler/ir/ir.interpreter/src/org/jetbrains/kotlin/ir/interpreter/checker/IrInterpreterCommonChecker.kt @@ -114,10 +114,6 @@ class IrInterpreterCommonChecker : IrInterpreterChecker { } override fun visitConst(expression: IrConst<*>, data: IrInterpreterCheckerData): Boolean { - if (expression.type.getUnsignedType() != null) { - val constructor = expression.type.classOrNull?.owner?.constructors?.singleOrNull() ?: return false - return data.mode.canEvaluateFunction(constructor) - } return true }