K2: Adjust test data after PCLA implementation [red-to-green]
^KT-59791 In Progress
This commit is contained in:
committed by
Space Team
parent
8459465177
commit
b9019d3de1
+2
-2
@@ -2,12 +2,12 @@
|
||||
// CHECK_TYPE_WITH_EXACT
|
||||
|
||||
fun test() {
|
||||
val buildee = <!NEW_INFERENCE_ERROR!>build {
|
||||
val buildee = build {
|
||||
when {
|
||||
true -> replaceTypeVariable(TargetType())
|
||||
else -> DifferentType()
|
||||
}
|
||||
}<!>
|
||||
}
|
||||
// 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
|
||||
checkExactType<Buildee<TargetType>>(buildee)
|
||||
|
||||
Reference in New Issue
Block a user