Files
kotlin-fork/compiler/testData/diagnostics/tests/regressions/kt455.fir.kt
T

11 lines
185 B
Kotlin
Vendored

//KT-455 Do not repeat errors in definite assignment checks
package kt455
fun foo() {
val a: Int
doSmth(a) //error
doSmth(a) //no repeat error
}
fun doSmth(i: Int) {}