// FIR_IDENTICAL // !DIAGNOSTICS: -UNUSED_PARAMETER import java.net.URI fun WebClient.myPost(uri: URI, body: Any, extract: WebClient.ResponseSpec.() -> Mono): Mono = TODO() class RestClient(private val webClient: WebClient) { fun post(outDto: OutDto): Mono = webClient.myPost(URI("http:/localhost:8080"), outDto) { bodyToMono() } } class Mono class WebClient { fun post() {} interface ResponseSpec { fun bodyToMono(): Mono } } class OutDto class InDto