8 lines
185 B
Kotlin
Vendored
8 lines
185 B
Kotlin
Vendored
// WITH_RUNTIME
|
|
// PROBLEM: none
|
|
// ERROR: Type mismatch: inferred type is Int? but Int was expected
|
|
fun foo() {
|
|
val a: Int? = 5
|
|
val t: String = Integer.<caret>toString(a, 5)
|
|
}
|