K2: Adjust test data after PCLA implementation [red-to-red]
^KT-59791 In Progress
This commit is contained in:
committed by
Space Team
parent
276f5b26d8
commit
6052e24626
+2
-2
@@ -2,14 +2,14 @@
|
||||
// CHECK_TYPE_WITH_EXACT
|
||||
|
||||
fun test() {
|
||||
val buildee = <!NEW_INFERENCE_NO_INFORMATION_FOR_PARAMETER, NEW_INFERENCE_NO_INFORMATION_FOR_PARAMETER!>build<!> {
|
||||
val buildee = <!NEW_INFERENCE_NO_INFORMATION_FOR_PARAMETER!>build<!> {
|
||||
this as DerivedBuildee<*, *>
|
||||
getTypeVariableA()
|
||||
getTypeVariableB()
|
||||
}
|
||||
// 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
|
||||
<!NEW_INFERENCE_NO_INFORMATION_FOR_PARAMETER!>checkExactType<!><<!CANNOT_INFER_PARAMETER_TYPE!>Buildee<*, *><!>>(buildee)
|
||||
checkExactType<Buildee<*, *>>(<!ARGUMENT_TYPE_MISMATCH!>buildee<!>)
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user