mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Uast: cleanup after KT-14868 fixed
GitOrigin-RevId: 63291d8741e57994688a89b46a19614ba007b6ab
This commit is contained in:
committed by
intellij-monorepo-bot
parent
d854be65a1
commit
cf0bd60d70
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user