diff --git a/uast/uast-common/src/org/jetbrains/uast/evaluation/TreeBasedEvaluator.kt b/uast/uast-common/src/org/jetbrains/uast/evaluation/TreeBasedEvaluator.kt index 86ff5358a8bd..fe1f4c0bff78 100644 --- a/uast/uast-common/src/org/jetbrains/uast/evaluation/TreeBasedEvaluator.kt +++ b/uast/uast-common/src/org/jetbrains/uast/evaluation/TreeBasedEvaluator.kt @@ -331,12 +331,7 @@ class TreeBasedEvaluator( constant as? UBooleanConstant } PsiType.CHAR -> when (constant) { - // Join the following three in UNumericConstant - // when https://youtrack.jetbrains.com/issue/KT-14868 is fixed - is UIntConstant -> UCharConstant(constant.value.toChar()) - is ULongConstant -> UCharConstant(constant.value.toChar()) - is UFloatConstant -> UCharConstant(constant.value.toChar()) - + is UNumericConstant -> UCharConstant(constant.value.toInt().toChar()) is UCharConstant -> constant else -> null }