K2: Don't lose constraint errors in the builder inference session
Pass constraint errors from the integration system into a candidate to make sure it is reported later. Related to KT-59426, KT-59437, KT-53749 #KT-55168 Submitted
This commit is contained in:
committed by
Space Team
parent
cb3d65f669
commit
2f367b013a
+2
-2
@@ -50,10 +50,10 @@ val test6 = generate {
|
||||
invNullableAnyExtension()
|
||||
}
|
||||
|
||||
val test7 = generate {
|
||||
val test7 = <!NEW_INFERENCE_ERROR!>generate {
|
||||
yield("baz")
|
||||
genericExtension<Int>()
|
||||
}
|
||||
}<!>
|
||||
|
||||
val test8 = generate {
|
||||
safeExtension()
|
||||
|
||||
+2
-2
@@ -12,8 +12,8 @@ fun test_1() {
|
||||
}
|
||||
|
||||
fun test_2() {
|
||||
<!NEW_INFERENCE_NO_INFORMATION_FOR_PARAMETER!>sequence<!> {
|
||||
yield(materialize())
|
||||
<!NEW_INFERENCE_NO_INFORMATION_FOR_PARAMETER, NEW_INFERENCE_NO_INFORMATION_FOR_PARAMETER!>sequence<!> {
|
||||
yield(<!NEW_INFERENCE_NO_INFORMATION_FOR_PARAMETER!>materialize<!>())
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user