FWIW below compiles. ``` fun build(builder: (Conte...
# language-proposals
a
FWIW below compiles.
Copy code
fun build(builder: (Context) -> View): View { TODO() }

val a = build(::View)
k
This may be something the new type inference system allows for, I'm not sure. I think there's an option to enable it, maybe try that?
a
I wasn't aware of this! There is a compiler flag?
k
-Xnew-inference
🙏 1
a
Hmm unfortunately with the new-inference this still appears to not compile.
k
Good to know, was worth a shot simple smile
a
Do you think this makes sense as a feature request or PR?