File tree Expand file tree Collapse file tree 4 files changed +6
-6
lines changed
main/kotlin/org/jetbrains/kotlinx/dataframe/impl
test/kotlin/org/jetbrains/kotlinx/dataframe/testSets/person
main/kotlin/org/jetbrains/kotlinx/dataframe/impl
test/kotlin/org/jetbrains/kotlinx/dataframe/testSets/person Expand file tree Collapse file tree 4 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -63,8 +63,8 @@ internal fun renderType(type: KType?): String {
63
63
type.classifier in listOf (LocalDateTime ::class , LocalTime ::class ) ->
64
64
fullName.removePrefix(" java.time." )
65
65
66
- fullName.startsWith(" kotlin.collections" ) ->
67
- fullName.removePrefix(" kotlin.collections" )
66
+ fullName.startsWith(" kotlin.collections. " ) ->
67
+ fullName.removePrefix(" kotlin.collections. " )
68
68
69
69
fullName.startsWith(" kotlin." ) ->
70
70
fullName.removePrefix(" kotlin." )
Original file line number Diff line number Diff line change @@ -95,7 +95,7 @@ class PivotTests {
95
95
96
96
data[" age" ].type() shouldBe typeOf<List <Int >>()
97
97
data[" city" ].type() shouldBe typeOf<String >()
98
- data[" weight" ].type() shouldBe typeOf<Comparable <Any >>()
98
+ data[" weight" ].type() shouldBe typeOf<Comparable <* >>() // Comparable<String + Int> -> Comparable<Nothing | *>
99
99
100
100
res.renderToString(columnTypes = true , title = true ) shouldBe
101
101
defaultExpected.group { drop(1 ) }.into(" key" ).renderToString(columnTypes = true , title = true )
Original file line number Diff line number Diff line change @@ -63,8 +63,8 @@ internal fun renderType(type: KType?): String {
63
63
type.classifier in listOf (LocalDateTime ::class , LocalTime ::class ) ->
64
64
fullName.removePrefix(" java.time." )
65
65
66
- fullName.startsWith(" kotlin.collections" ) ->
67
- fullName.removePrefix(" kotlin.collections" )
66
+ fullName.startsWith(" kotlin.collections. " ) ->
67
+ fullName.removePrefix(" kotlin.collections. " )
68
68
69
69
fullName.startsWith(" kotlin." ) ->
70
70
fullName.removePrefix(" kotlin." )
Original file line number Diff line number Diff line change @@ -95,7 +95,7 @@ class PivotTests {
95
95
96
96
data[" age" ].type() shouldBe typeOf<List <Int >>()
97
97
data[" city" ].type() shouldBe typeOf<String >()
98
- data[" weight" ].type() shouldBe typeOf<Comparable <Any >>()
98
+ data[" weight" ].type() shouldBe typeOf<Comparable <* >>() // Comparable<String + Int> -> Comparable<Nothing | *>
99
99
100
100
res.renderToString(columnTypes = true , title = true ) shouldBe
101
101
defaultExpected.group { drop(1 ) }.into(" key" ).renderToString(columnTypes = true , title = true )
You can’t perform that action at this time.
0 commit comments