Ensure renaming function parameter is compatible change for the compiler plugin
Open
@koperagen is already working on this.
Since Jul 4, 2025.
Compiler plugin
- Dominant language
- Kotlin
- Stars
- 1.1k
- Forks
- 83
- Avg merge
- 4d 12h
- Merged PRs (30d)
- 30
Description
We need a new @ParameterName annotation that has priority over regular name, and serves as compatibility in case of rename.
So let's say plugin expects fun explode(selector), we want fun explode(columns), so we should
- Rename parameter and add a annotation
explode(@ParameterName("selector") columns) - Create a new interpreter that expects "columns" name, so we could eventually migrate
With that said, this mechanism will work starting from 2025.3 as we can't get this change in 2025.2 release. So for now we should not rename parameters
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.