K2: Allow PCLA inference when a value parameter has a TV type
^KT-64877 Fixed
This commit is contained in:
committed by
Space Team
parent
b2ca19da73
commit
72b0372927
+4
-4
@@ -3,13 +3,13 @@
|
||||
|
||||
fun test() {
|
||||
val buildee = stepByStepBuild(
|
||||
<!CANNOT_INFER_PARAMETER_TYPE!>{
|
||||
{
|
||||
it.<!UNRESOLVED_REFERENCE!>concreteTypeMemberProperty<!>
|
||||
TargetType()
|
||||
}<!>,
|
||||
<!CANNOT_INFER_PARAMETER_TYPE!>{
|
||||
},
|
||||
{
|
||||
consumeTargetTypeBase(it)
|
||||
}<!>
|
||||
}
|
||||
)
|
||||
// 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
|
||||
|
||||
Reference in New Issue
Block a user