Introduce specific error for calls which could be resolved only with unrestricted builder inference
^KT-47747 Fixed
This commit is contained in:
committed by
teamcityserver
parent
357fda2efa
commit
6a1ec92d39
@@ -26,7 +26,7 @@ inline fun <R> select(crossinline builder: SelectBuilder<R>.() -> Unit) = Unit a
|
||||
|
||||
fun test() {
|
||||
val x: Flow<String> = flow {
|
||||
<!NEW_INFERENCE_NO_INFORMATION_FOR_PARAMETER!>produce<!> {
|
||||
<!COULD_BE_INFERRED_ONLY_WITH_UNRESTRICTED_BUILDER_INFERENCE!>produce<!> {
|
||||
select<Unit> {
|
||||
<!NEW_INFERENCE_NO_INFORMATION_FOR_PARAMETER!>onSend<!>("") {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user