Fix builder inference tests

This commit is contained in:
Victor Petukhov
2021-05-24 15:02:08 +03:00
parent be22078bd1
commit 758eb8f851
46 changed files with 1233 additions and 326 deletions
@@ -15,7 +15,7 @@ fun main() {
}
buildList {
add(3)
val x: String = get(0)
val x: String = <!INITIALIZER_TYPE_MISMATCH!>get(0)<!>
}
buildList {
add("3")
@@ -28,6 +28,6 @@ fun main() {
}
buildList {
add("")
val x: StringBuilder = get(0)
val x: StringBuilder = <!INITIALIZER_TYPE_MISMATCH!>get(0)<!>
}
}
}