mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-12 00:21:32 +00:00
6 lines
129 B
Kotlin
Vendored
6 lines
129 B
Kotlin
Vendored
// "Replace cast with call to 'toInt()'" "false"
|
|
// WARNING: Cast can never succeed
|
|
|
|
fun foo() {
|
|
val a = true as<caret> Int
|
|
} |