mirror of
https://github.com/github/codeql.git
synced 2025-12-24 04:36:35 +01:00
Kotlin: don't try to call nonexistent j.l.Number.toChar
Previously we thought this could be callable because Kotlin's view of `j.l.Integer` inherits `k.Number` which defines `toChar`.
This commit is contained in:
@@ -0,0 +1 @@
|
||||
| file://:0:0:0:0 | Couldn't find a Java equivalent function to kotlin.Int.toChar in java.lang.Integer |
|
||||
@@ -0,0 +1 @@
|
||||
| test.kt:1:19:1:26 | toChar(...) |
|
||||
@@ -0,0 +1 @@
|
||||
fun f(x: Int) = x.toChar()
|
||||
@@ -0,0 +1,4 @@
|
||||
import java
|
||||
|
||||
from MethodAccess ma
|
||||
select ma
|
||||
Reference in New Issue
Block a user