Kotlin / Kotlin/dataframe

Cannot tell whether a function is supported by the compiler plugin

Open
#1,229 0 comments 0 reactions 2 assignees Claimed by @koperagen View on GitHub
Compiler plugin enhancement IDEA Plugin
Dominant language
Kotlin
Stars
1.1k
Forks
83
Avg merge
4d 12h
Merged PRs (30d)
30

Description

Consider the following example:
![Image](https://github.com/user-attachments/assets/6e034d21-1791-4475-93ee-c61abdd650cb)

![Image](https://github.com/user-attachments/assets/7e06fa67-6e0c-4485-a22c-921daea8f70d)

The `into {}` overload is [unsupported](https://github.com/Kotlin/dataframe/issues/1228) by the compiler plugin, but from a user perspective this is is invisible. They will simply run into runtime exceptions when they run the second example.

We will always have functions like these; that change the data schema but do so with a programmatic approach where a new name depends on some runtime information or data inside the DF.

In these cases, could we have a warning, a color change, a gutter icon or anything similar to let users know when the compiler plugin does and does not adapt the return type?
And is that possible from just the compiler plugin or does that require an IDE plugin?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.