[tests] Change builder inference tests in accordance with KT-53749 changes

This commit is contained in:
Mikhail Glukhikh
2023-12-05 10:36:22 +01:00
committed by Space Team
parent 7515efc52c
commit 254bcdc80a
21 changed files with 33 additions and 57 deletions
@@ -4,7 +4,7 @@
fun test() {
val buildee = build {
setTypeVariable(TargetType())
consume(getTypeVariable())
consume(<!ARGUMENT_TYPE_MISMATCH!>getTypeVariable()<!>)
}
// exact type equality check — turns unexpected compile-time behavior into red code
// considered to be non-user-reproducible code for the purposes of these tests