Skip to content
This repository has been archived by the owner on Aug 19, 2020. It is now read-only.

KT-12848 Allow to turn the first parameter of a SAM-converted lambda into the receiver #156

Closed
bamboo opened this issue Oct 13, 2016 · 7 comments

Comments

@bamboo
Copy link
Member

bamboo commented Oct 13, 2016

https://youtrack.jetbrains.com/issue/KT-12848#comment=27-1651435

@bamboo
Copy link
Member Author

bamboo commented Oct 13, 2016

@ligee, please let us know when this makes into a dev build we can use for gradle-script-kotlin.

@mkobit
Copy link
Contributor

mkobit commented Dec 29, 2016

FYI looks like this made it into 1.0.6 so it is (possibly?) in 1.1-M04?

@bamboo
Copy link
Member Author

bamboo commented Jan 3, 2017

@mkobit I didn't see it mentioned in the release notes. Did I miss it?

@mkobit
Copy link
Contributor

mkobit commented Jan 4, 2017

@bamboo I could be misunderstanding the issue, but it sounded like this could be achieved by using a compiler plugin to handle the codegen.

The 1.0.6 notes (here) mention a couple compiler plugins like the all-open and no-arg plugins. I didn't see anything in the 1.1-M4 notes (here) so I wasn't sure if it made it into there yet.

@bamboo
Copy link
Member Author

bamboo commented Jan 4, 2017

Yeah, it wasn't explicitly mentioned in the release notes but it's there: JetBrains/kotlin@cbef025

@bamboo bamboo added this to the 0.7.0 milestone Jan 6, 2017
@hansd
Copy link
Member

hansd commented Jan 10, 2017

Any updates on the slow script compile times?

@bamboo bamboo modified the milestones: 0.8.0, 0.7.0 Jan 16, 2017
@bamboo
Copy link
Member Author

bamboo commented Jan 20, 2017

The embeddable compiler changes are in. The required changes to IDEA will come in #252.

@bamboo bamboo closed this as completed Jan 20, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants