Files
kotlin-fork/compiler/testData/diagnostics/tests/inference/builderInference/kt49829.kt
T
2024-01-10 14:56:30 +00:00

12 lines
201 B
Kotlin
Vendored

// WITH_STDLIB
// ISSUE: KT-50293
fun main() {
val list = buildList {
add("one")
add("two")
val secondParameter = get(1)
println(secondParameter as String)
}
}