// FIR_IDENTICAL // WITH_STDLIB class Flow @OverloadResolutionByLambdaReturnType @OptIn(kotlin.experimental.ExperimentalTypeInference::class) fun Flow.debounce(timeoutMillis: (T) -> Long): Flow = this @JvmName("debounceDuration") @OptIn(kotlin.experimental.ExperimentalTypeInference::class) @OverloadResolutionByLambdaReturnType fun Flow.debounce(timeout: (T) -> String): Flow = this fun invalidFlow(x: Flow): Flow = x.debounce { value -> 0 }