Kotlin / Kotlin/dataframe

Compiler plugin schema breaks for DataFrame with Platform Type (`!`)

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

Description

Image

Image

These types can be introduced from Java code. Even though nullability is not known, these types are considered to be not null across Kotlin and should thus be treated as such.

Workaround is explicitly casting to the non-null type or changing the `.toDataFrame()` function to return `DataFrame`, suppressing the INCORRECT_LEFT_COMPONENT_OF_INTERSECTION error.

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.