[FIR] Improve source selection for NEW_INFERENCE_NO_INFORMATION_FOR_PARAMETER
This commit is contained in:
committed by
Space Team
parent
c9d23f795a
commit
888c1defa0
Vendored
+1
-1
@@ -9,7 +9,7 @@ operator fun <Z> M<in Z>.setValue(thisRef: Any?, property: KProperty<*>, value:
|
||||
fun <U> m(): M<U> = M()
|
||||
|
||||
// We don't allow to infer type of a delegate expression through a setValue, where the argument (value) is constrained by the return type of a getValue
|
||||
var a by <!DELEGATE_SPECIAL_FUNCTION_NONE_APPLICABLE!><!NEW_INFERENCE_NO_INFORMATION_FOR_PARAMETER, NEW_INFERENCE_NO_INFORMATION_FOR_PARAMETER!>m<!>()<!>
|
||||
var a by <!DELEGATE_SPECIAL_FUNCTION_NONE_APPLICABLE, NEW_INFERENCE_NO_INFORMATION_FOR_PARAMETER!><!NEW_INFERENCE_NO_INFORMATION_FOR_PARAMETER!>m<!>()<!>
|
||||
|
||||
// We infer type of delegate expression through a setValue from the explicit property type
|
||||
var b: String by m()
|
||||
|
||||
Reference in New Issue
Block a user