Skip to content

Column accessors not available when dataframe ghost type is nested #1469

@Jolanrensen

Description

@Jolanrensen

For example:

class Holder<T>(val value: T)

private fun getMyDf() /*: Holder<DataFrame<Invoke_93>> */ = Holder(dataFrameOf("a", "b")(1, "test"))

fun main() {
    getMyDf().value.a // UNRESOLVED REF
}

it only works if the ghost type is top-level:

private fun getMyDf() /*: DataFrame<Invoke_93> */ = dataFrameOf("a", "b")(1, "test")

fun main() {
    getMyDf().a // works
}

Metadata

Metadata

Assignees

Labels

Compiler pluginAnything related to the DataFrame Compiler PluginbugSomething isn't working

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions