Skip to content

Commit 6e51b34

Browse files
committed
updated based on review
1 parent 99db75d commit 6e51b34

File tree

4 files changed

+11
-11
lines changed

4 files changed

+11
-11
lines changed

core/generated-sources/src/main/kotlin/org/jetbrains/kotlinx/dataframe/api/ColumnsSelectionDsl.kt

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4213,7 +4213,7 @@ public interface ColumnsSelectionDsl<out T> : ColumnSelectionDsl<T>, SingleColum
42134213
* ## ‎
42144214
* Finally, [colsOf][org.jetbrains.kotlinx.dataframe.api.colsOf] can also take a [KType] argument instead of a reified type.
42154215
* This is useful when the type is not known at compile time or when the API function cannot be inlined.
4216-
* (TODO: [Issue: #325, context receiver support](https://github.com/Kotlin/dataframe/issues/325))
4216+
*
42174217
*
42184218
* `df.`[select][org.jetbrains.kotlinx.dataframe.DataFrame.select]` { `[colsOf][org.jetbrains.kotlinx.dataframe.api.colsOf]`(`[typeOf][typeOf]`<`[Int][Int]`>()) }`
42194219
*
@@ -4252,7 +4252,7 @@ public interface ColumnsSelectionDsl<out T> : ColumnSelectionDsl<T>, SingleColum
42524252
* ## ‎
42534253
* Finally, [colsOf][org.jetbrains.kotlinx.dataframe.api.colsOf] can also take a [KType] argument instead of a reified type.
42544254
* This is useful when the type is not known at compile time or when the API function cannot be inlined.
4255-
* (TODO: [Issue: #325, context receiver support](https://github.com/Kotlin/dataframe/issues/325))
4255+
*
42564256
*
42574257
* `df.`[select][org.jetbrains.kotlinx.dataframe.DataFrame.select]` { `[colsOf][org.jetbrains.kotlinx.dataframe.api.colsOf]`(`[typeOf][typeOf]`<`[Int][Int]`>()) }`
42584258
*
@@ -4330,7 +4330,7 @@ public inline fun <reified C> ColumnSet<*>.dfsOf(noinline filter: (ColumnWithPat
43304330
* ## ‎
43314331
* Finally, [colsOf] can also take a [KType] argument instead of a reified type.
43324332
* This is useful when the type is not known at compile time or when the API function cannot be inlined.
4333-
* (TODO: [Issue: #325, context receiver support](https://github.com/Kotlin/dataframe/issues/325))
4333+
*
43344334
*
43354335
* `df.`[select][DataFrame.select]` { `[colsOf][colsOf]`(`[typeOf][typeOf]`<`[Int][Int]`>()) }`
43364336
*
@@ -4358,7 +4358,7 @@ internal interface ColsOf
43584358
* ## ‎
43594359
* Finally, [colsOf][org.jetbrains.kotlinx.dataframe.api.colsOf] can also take a [KType] argument instead of a reified type.
43604360
* This is useful when the type is not known at compile time or when the API function cannot be inlined.
4361-
* (TODO: [Issue: #325, context receiver support](https://github.com/Kotlin/dataframe/issues/325))
4361+
*
43624362
*
43634363
* `df.`[select][org.jetbrains.kotlinx.dataframe.DataFrame.select]` { `[colsOf][org.jetbrains.kotlinx.dataframe.api.colsOf]`(`[typeOf][typeOf]`<`[Int][Int]`>()) }`
43644364
*
@@ -4394,7 +4394,7 @@ private interface CommonColsOfDocs {
43944394
* ## ‎
43954395
* Finally, [colsOf][org.jetbrains.kotlinx.dataframe.api.colsOf] can also take a [KType] argument instead of a reified type.
43964396
* This is useful when the type is not known at compile time or when the API function cannot be inlined.
4397-
* (TODO: [Issue: #325, context receiver support](https://github.com/Kotlin/dataframe/issues/325))
4397+
*
43984398
*
43994399
* `df.`[select][org.jetbrains.kotlinx.dataframe.DataFrame.select]` { `[colsOf][org.jetbrains.kotlinx.dataframe.api.colsOf]`(`[typeOf][typeOf]`<`[Int][Int]`>()) }`
44004400
*
@@ -4435,7 +4435,7 @@ public fun <C> ColumnSet<*>.colsOf(type: KType, filter: (DataColumn<C>) -> Boole
44354435
* ## ‎
44364436
* Finally, [colsOf][org.jetbrains.kotlinx.dataframe.api.colsOf] can also take a [KType] argument instead of a reified type.
44374437
* This is useful when the type is not known at compile time or when the API function cannot be inlined.
4438-
* (TODO: [Issue: #325, context receiver support](https://github.com/Kotlin/dataframe/issues/325))
4438+
*
44394439
*
44404440
* `df.`[select][org.jetbrains.kotlinx.dataframe.DataFrame.select]` { `[colsOf][org.jetbrains.kotlinx.dataframe.api.colsOf]`(`[typeOf][typeOf]`<`[Int][Int]`>()) }`
44414441
*

core/generated-sources/src/test/kotlin/org/jetbrains/kotlinx/dataframe/api/ColumnsSelectionDsl.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -163,9 +163,9 @@ class ColumnsSelectionDslTests : TestBase() {
163163
}
164164

165165
dfGroup.select { colGroup("name") } shouldBe dfGroup.select { name }
166-
dfGroup.select { colGroup<String>("name") } shouldBe dfGroup.select { name }
166+
dfGroup.select { colGroup<Name>("name") } shouldBe dfGroup.select { name }
167167
dfGroup.select { colGroup(pathOf("name")) } shouldBe dfGroup.select { name }
168-
dfGroup.select { colGroup<String>(pathOf("name")) } shouldBe dfGroup.select { name }
168+
dfGroup.select { colGroup<Name>(pathOf("name")) } shouldBe dfGroup.select { name }
169169
dfGroup.select { colGroup(Person::name) } shouldBe dfGroup.select { name }
170170

171171
dfGroup.select { colGroup("name").colGroup("firstNames") } shouldBe dfGroup.select { name[firstNames] }

core/src/main/kotlin/org/jetbrains/kotlinx/dataframe/api/ColumnsSelectionDsl.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1976,7 +1976,7 @@ public inline fun <reified C> ColumnSet<*>.dfsOf(noinline filter: (ColumnWithPat
19761976
* {@include [LineBreak]}
19771977
* Finally, [colsOf] can also take a [KType] argument instead of a reified type.
19781978
* This is useful when the type is not known at compile time or when the API function cannot be inlined.
1979-
* (TODO: [Issue: #325, context receiver support](https://github.com/Kotlin/dataframe/issues/325))
1979+
* {@comment TODO: [Issue: #325, context receiver support](https://github.com/Kotlin/dataframe/issues/325) }
19801980
*
19811981
* `df.`[select][DataFrame.select]` { `[colsOf][colsOf]`(`[typeOf][typeOf]`<`[Int][Int]`>()) }`
19821982
*

core/src/test/kotlin/org/jetbrains/kotlinx/dataframe/api/ColumnsSelectionDsl.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -163,9 +163,9 @@ class ColumnsSelectionDslTests : TestBase() {
163163
}
164164

165165
dfGroup.select { colGroup("name") } shouldBe dfGroup.select { name }
166-
dfGroup.select { colGroup<String>("name") } shouldBe dfGroup.select { name }
166+
dfGroup.select { colGroup<Name>("name") } shouldBe dfGroup.select { name }
167167
dfGroup.select { colGroup(pathOf("name")) } shouldBe dfGroup.select { name }
168-
dfGroup.select { colGroup<String>(pathOf("name")) } shouldBe dfGroup.select { name }
168+
dfGroup.select { colGroup<Name>(pathOf("name")) } shouldBe dfGroup.select { name }
169169
dfGroup.select { colGroup(Person::name) } shouldBe dfGroup.select { name }
170170

171171
dfGroup.select { colGroup("name").colGroup("firstNames") } shouldBe dfGroup.select { name[firstNames] }

0 commit comments

Comments
 (0)