[IDE-NI-MIGRATE] [BAD] Migrate testdata of LocalInspection tests

This commit is contained in:
Dmitriy Novozhilov
2019-04-22 18:49:50 +03:00
committed by Mikhail Zarechenskiy
parent 17df843bf1
commit 05aa36a858
20 changed files with 186 additions and 0 deletions
@@ -0,0 +1,9 @@
// PROBLEM: none
// WITH_RUNTIME
// ERROR: Type mismatch: inferred type is List<{Comparable<{Int & String}> & java.io.Serializable}> but List<String> was expected
// COMPILER_ARGUMENTS: -XXLanguage:+NewInference
fun test() {
var list = listOf("")
list <caret>+= 1
}