Support Char.code in constant evaluator, KT-46036
But do not consider Char.code a pure integer constant.
This commit is contained in:
@@ -68,6 +68,8 @@ fun generate(): String {
|
||||
}
|
||||
}
|
||||
|
||||
unaryOperationsMap.add(Triple("code", listOf(builtIns.charType), false))
|
||||
|
||||
for (type in integerTypes) {
|
||||
for (otherType in integerTypes) {
|
||||
val parameters = listOf(type, otherType)
|
||||
|
||||
Reference in New Issue
Block a user