There are some functions introduced by https://github.com/Kotlin/dataframe/pull/372 which throw compiler/front-end warnings that can be ignored: CANDIDATE_CHOSEN_USING_OVERLOAD_RESOLUTION_BY_LAMBDA_ANNOTATION. This warning is caused by a workaround for this YouTrack issue (and this).
This warning only occurs in places where there exist overloads for both
KProperty<DataRow<C>> and KProperty<C> with a lambda argument. To prevent clashes on the JVM, one of the two functions is annotated with @JvmName(). Then, to make calling both functions possible, the non-DataRow overload is annotated with @OverloadResolutionByLambdaReturnType, which causes the warning to appear on the DataRow overload.
There are some functions introduced by https://github.com/Kotlin/dataframe/pull/372 which throw compiler/front-end warnings that can be ignored:
CANDIDATE_CHOSEN_USING_OVERLOAD_RESOLUTION_BY_LAMBDA_ANNOTATION
. This warning is caused by a workaround for this YouTrack issue (and this).This warning only occurs in places where there exist overloads for both
KProperty<DataRow<C>>
andKProperty<C>
with a lambda argument. To prevent clashes on the JVM, one of the two functions is annotated with@JvmName()
. Then, to make calling both functions possible, the non-DataRow
overload is annotated with@OverloadResolutionByLambdaReturnType
, which causes the warning to appear on theDataRow
overload.