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

Annotate Action<T> as a Kotlin extension function type #155

Closed
5 tasks done
bamboo opened this issue Oct 13, 2016 · 5 comments
Closed
5 tasks done

Annotate Action<T> as a Kotlin extension function type #155

bamboo opened this issue Oct 13, 2016 · 5 comments

Comments

@bamboo
Copy link
Member

bamboo commented Oct 13, 2016

  • Create a new HasImplicitReceiver annotation in Gradle core
  • Annotate Action<T> with HasImplicitReceiver
  • Register HasImplicitReceiver annotation with the SAMWithReceiver Kotlin compiler plugin in GSK
  • Remove gradle-api instrumentation and T.() -> Unit api extension generation
  • Remove any obsolete extensions that we might have
@bamboo
Copy link
Member Author

bamboo commented Oct 13, 2016

Blocked by #156

@bamboo
Copy link
Member Author

bamboo commented Jan 7, 2017

Blocked: waiting for further instructions - https://kotlinlang.slack.com/archives/scripting/p1483797366000740

@bamboo
Copy link
Member Author

bamboo commented Jan 11, 2017

Provided a self-contained repro project to Yan Zhulanov from JetBrains for investigation: https://github.com/bamboo/kotlin-sam-with-receiver-repro

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

bamboo commented Jan 19, 2017

It should be fixed in the beta: https://blog.jetbrains.com/kotlin/2017/01/kotlin-1-1-beta-is-here

@bamboo
Copy link
Member Author

bamboo commented Jan 19, 2017

@ParameterExtension renamed to @HasImplicitReceiver in gradle/gradle@9ead5d8.

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

1 participant