191fb02bf6
Currently, only for "in": In<in Int & A> == In<in Nothing> == In<*> #KT-37302 Fixed
9 lines
261 B
Kotlin
Vendored
9 lines
261 B
Kotlin
Vendored
// PROBLEM: none
|
|
// WITH_RUNTIME
|
|
// ERROR: Type mismatch: inferred type is List<{Comparable<*> & java.io.Serializable}> but List<String> was expected
|
|
// COMPILER_ARGUMENTS: -XXLanguage:+NewInference
|
|
|
|
fun test() {
|
|
var list = listOf("")
|
|
list <caret>+= 1
|
|
} |