9 lines
226 B
Kotlin
Vendored
9 lines
226 B
Kotlin
Vendored
// PROBLEM: none
|
|
// WITH_RUNTIME
|
|
// ERROR: Type mismatch: inferred type is List<Any> but List<String> was expected
|
|
// COMPILER_ARGUMENTS: -XXLanguage:-NewInference
|
|
|
|
fun test() {
|
|
var list = listOf("")
|
|
list <caret>+= 1
|
|
} |