KT-3652: Char is converted to Int when used inside string interpolation
#KT-3652 Fixed
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
fun box(): String {
|
||||
var a = 'a'
|
||||
|
||||
if ("${a++}x" != "ax") return "fail1"
|
||||
|
||||
if ("${a++}" != "b") return "fail2"
|
||||
|
||||
return "OK"
|
||||
}
|
||||
Reference in New Issue
Block a user