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
@@ -8,7 +8,7 @@ fun test() {
|
||||
val targetTypeBuildee = build {
|
||||
var variable = getTypeVariable()
|
||||
variable = TargetType()
|
||||
variable.targetTypeMemberFunction()
|
||||
variable.<!UNRESOLVED_REFERENCE!>targetTypeMemberFunction<!>()
|
||||
}
|
||||
// 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
|
||||
@@ -26,15 +26,15 @@ fun test() {
|
||||
val anyBuildee = build {
|
||||
var variable = getTypeVariable()
|
||||
variable = TargetType()
|
||||
variable.targetTypeMemberFunction()
|
||||
variable = DifferentType()
|
||||
variable.<!UNRESOLVED_REFERENCE!>targetTypeMemberFunction<!>()
|
||||
variable = <!ASSIGNMENT_TYPE_MISMATCH!>DifferentType()<!>
|
||||
variable.<!UNRESOLVED_REFERENCE!>targetTypeMemberFunction<!>()
|
||||
variable = TargetType()
|
||||
variable.targetTypeMemberFunction()
|
||||
variable.<!UNRESOLVED_REFERENCE!>targetTypeMemberFunction<!>()
|
||||
}
|
||||
// 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<Any>>(anyBuildee)
|
||||
checkExactType<Buildee<Any>>(<!ARGUMENT_TYPE_MISMATCH!>anyBuildee<!>)
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user