Kotlin / Kotlin/dataframe

Ensure renaming function parameter is compatible change for the compiler plugin

Open
#1,310 2 comments 0 reactions 1 assignee View on GitHub

@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

  1. Rename parameter and add a annotation explode(@ParameterName("selector") columns)
  2. 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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.