Kotlin/dataframe

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

Jolanrensen opened this issue · 0 comments

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.