-
Notifications
You must be signed in to change notification settings - Fork 456
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SAM Issue Resolved with Upcoming Type Inference Overhaul #197
Comments
Guys from Kotlin announced |
I kept looking for a timeline for this, did they announce any? |
It looks like this is available as an experimental feature in Kotlin 1.3. Here is how to activate it: |
This produces warnings now when building with Kotlin 1.4.0 and RxKotlin 3.0.0, due to several candidates being available:
Edit: The case I encountered was readily fixed by removing the extension function import. My bad. |
@bubenheimer this has been handled on the 3.x-new-type-inference branch, will merge to main branch soon. |
#238 deprecates SAM helper functions |
How u can unsubscribe from this list!? I’ve tried so many ways:(
…On Wed, 26 Aug 2020 at 17:13 Vedran Prišćan ***@***.***> wrote:
#238 <#238> deprecates SAM
helper functions
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#197 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AL45BY6V73LIQ7BZDQ2J2XLSCV3JLANCNFSM4FZNEGXA>
.
|
At KotlinConf 2018, a new type inference system was announced and it will fix the SAM issue. I believe this is going to be in experimental stages for some time and is slated for Kotlin 1.4.
I am documenting this right now so we'll remember to deprecate the SAM helper functions upon the release of this much-needed feature.
The text was updated successfully, but these errors were encountered: