From 1d4c996a6cb1269c72f673b095bbada8a90944fe Mon Sep 17 00:00:00 2001 From: Nikita Klimenko Date: Tue, 16 Sep 2025 12:50:07 +0300 Subject: [PATCH] Annotate missed convert functions for compiler plugin support --- .../main/kotlin/org/jetbrains/kotlinx/dataframe/api/convert.kt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/core/src/main/kotlin/org/jetbrains/kotlinx/dataframe/api/convert.kt b/core/src/main/kotlin/org/jetbrains/kotlinx/dataframe/api/convert.kt index 1b9fee1ef5..4bc61e18c9 100644 --- a/core/src/main/kotlin/org/jetbrains/kotlinx/dataframe/api/convert.kt +++ b/core/src/main/kotlin/org/jetbrains/kotlinx/dataframe/api/convert.kt @@ -295,6 +295,7 @@ public inline fun DataFrame.convert( * @param [expression] The {@include [ExpressionsGivenRow.RowValueExpressionLink]} to update the rows with. * @return A new [DataFrame] with the converted values. */ +@Refine @Interpretable("Convert6") public inline fun DataFrame.convert( firstCol: String, @@ -303,6 +304,8 @@ public inline fun DataFrame.convert( noinline expression: RowValueExpression, ): DataFrame = convert(*headPlusArray(firstCol, cols)).with(infer, expression) +@Refine +@Interpretable("ConvertNotNull") public inline fun Convert.notNull( crossinline expression: RowValueExpression, ): DataFrame =