Merge pull request #10974 from smowton/smowton/fix/dont-translate-tochar

Kotlin: don't try to call nonexistent `j.l.Number.toChar`
This commit is contained in:
Chris Smowton
2022-10-26 14:18:03 +01:00
committed by GitHub
5 changed files with 8 additions and 0 deletions

View File

@@ -0,0 +1 @@
| file://:0:0:0:0 | Couldn't find a Java equivalent function to kotlin.Int.toChar in java.lang.Integer |

View File

@@ -0,0 +1 @@
| test.kt:1:19:1:26 | toChar(...) |

View File

@@ -0,0 +1 @@
fun f(x: Int) = x.toChar()

View File

@@ -0,0 +1,4 @@
import java
from MethodAccess ma
select ma