JVM IR: replace unoverridden Number.toChar with toInt().toChar()

This fixes failing tests for JVM_IR in
`box/primitiveTypes/numberToChar`.

 #KT-23447 Fixed
 #KT-46465
This commit is contained in:
Alexander Udalov
2023-03-02 23:00:03 +01:00
committed by Space Team
parent a962ec4553
commit e56e058b7b
4 changed files with 70 additions and 9 deletions
@@ -2,6 +2,9 @@
// ISSUE: KT-23447
// WITH_STDLIB
// IGNORE_BACKEND_K2: JVM_IR
// Ignore reason: KT-57217
// FILE: MyNumber.java
public class MyNumber extends Number {