Sum of two chars in Kotlin
I am learning Kotlin and I'd like to know why am I able to subtract between two Char variables in Kotlin, but their sum presents this error:
>>> 'A' + 'B'
error: the character literal does not conform to the expected type Int
'A' + 'B'
^
>> 'A' - 'B'
res40:
kotlin.Int = -1
>>
I am aware this is a really basic issue...
Thanks!