Files
Mikhail Glukhikh 9af6020c7c [Kotlin] Fix or delete some tests after old inference removal
GitOrigin-RevId: 7ef8ad07baf929bf652cb8b8af8e1d2afdb15f81
2022-08-02 09:31:42 +00:00

8 lines
211 B
Kotlin

// PROBLEM: none
// WITH_STDLIB
// ERROR: Type mismatch: inferred type is List<{Comparable<*> & java.io.Serializable}> but List<String> was expected
fun test() {
var list = listOf("")
list <caret>+= 1
}