/kt47986_2.kt:4:18: warning: parameter 'builderAction' is never used
fun <K> buildFoo(builderAction: Foo<K>.() -> Unit): Foo<K> = Foo()
                 ^
/kt47986_2.kt:11:9: warning: variable 'x' is never used
    val x = buildFoo { // can't infer
        ^
/kt47986_2.kt:11:13: warning: type parameter for a type argument K can't be inferred into declared upper bounds. Please provide any use-site type information. It will become an error in future releases.
    val x = buildFoo { // can't infer
            ^
/kt47986_2.kt:12:13: warning: variable 'y' is never used
        val y = id(::bar)
            ^

