K2: Adjust test data after correcting source for it
While reporting a diagnostic there seems to be correct because the parameter type is ConeErrorType, the former fact is a bug in PCLA that should be fixed soon
This commit is contained in:
committed by
Space Team
parent
e359db4111
commit
b2ca19da73
+1
-1
@@ -4,7 +4,7 @@
|
||||
fun test() {
|
||||
val buildee = buildFromValue(
|
||||
innerBuild { setInnerTypeVariable(TargetType()) },
|
||||
{ it.<!NEW_INFERENCE_NO_INFORMATION_FOR_PARAMETER!>placeholderExtensionInvokeOnInnerBuildee<!>() }
|
||||
<!CANNOT_INFER_PARAMETER_TYPE!>{ it.<!NEW_INFERENCE_NO_INFORMATION_FOR_PARAMETER!>placeholderExtensionInvokeOnInnerBuildee<!>() }<!>
|
||||
)
|
||||
// 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
|
||||
|
||||
+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
|
||||
|
||||
@@ -3,12 +3,12 @@
|
||||
|
||||
fun test() {
|
||||
val buildee = <!NEW_INFERENCE_NO_INFORMATION_FOR_PARAMETER!>parallelBuild<!>(
|
||||
{
|
||||
<!CANNOT_INFER_PARAMETER_TYPE!>{
|
||||
consumeTargetTypeBase(it)
|
||||
},
|
||||
{
|
||||
}<!>,
|
||||
<!CANNOT_INFER_PARAMETER_TYPE!>{
|
||||
consumeTargetType(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
|
||||
|
||||
+4
-4
@@ -3,12 +3,12 @@
|
||||
|
||||
fun test() {
|
||||
val buildee = parallelBuild(
|
||||
{
|
||||
<!CANNOT_INFER_PARAMETER_TYPE!>{
|
||||
setTypeVariable(TargetType())
|
||||
},
|
||||
{
|
||||
}<!>,
|
||||
<!CANNOT_INFER_PARAMETER_TYPE!>{
|
||||
consumeDifferentType(<!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
|
||||
|
||||
+4
-4
@@ -3,12 +3,12 @@
|
||||
|
||||
fun test() {
|
||||
val buildee = parallelInOutBuild(
|
||||
{
|
||||
<!CANNOT_INFER_PARAMETER_TYPE!>{
|
||||
setInProjectedTypeVariable(TargetType())
|
||||
},
|
||||
{
|
||||
}<!>,
|
||||
<!CANNOT_INFER_PARAMETER_TYPE!>{
|
||||
consumeDifferentType(<!ARGUMENT_TYPE_MISMATCH!>getOutProjectedTypeVariable()<!>)
|
||||
}
|
||||
}<!>
|
||||
)
|
||||
// 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