Skip to content

columnOf(arrayOf(1)) type inferred as Array<*> #679

Open
@Jolanrensen

Description

@Jolanrensen

Probably related to #678.

columnOf(arrayOf(1)).type shouldBe typeOf<Array<Int>>() but is Array<*> instead.

Other cases, like columnOf(intArrayOf(1)) or columnOf(arrayOf(1, null)) work fine.

DataColumn.createValueColumn("c", listOf(arrayOf(1))) also works fine.

My theory is that it occurs because, due to #678, the classifier of the Array<Int> becomes IntArray, which has no type arguments. Still, it needs to be investigated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions