dataframe icon indicating copy to clipboard operation
dataframe copied to clipboard

Compilation error: `Not Enough Information to Infer Type Variable R`

Open devcrocod opened this issue 1 year ago • 3 comments

I got exception while running tests (master branch 1a818ca) : Not enough information to infer type variable R

In ApiLevels.kt:

  • https://github.com/Kotlin/dataframe/blob/1a818ca7de494948ecdbedbc49958f75a1d7c48d/core/src/test/kotlin/org/jetbrains/kotlinx/dataframe/samples/api/ApiLevels.kt#L25:14
  • https://github.com/Kotlin/dataframe/blob/1a818ca7de494948ecdbedbc49958f75a1d7c48d/core/src/test/kotlin/org/jetbrains/kotlinx/dataframe/samples/api/ApiLevels.kt#L25:60
  • https://github.com/Kotlin/dataframe/blob/1a818ca7de494948ecdbedbc49958f75a1d7c48d/core/src/test/kotlin/org/jetbrains/kotlinx/dataframe/samples/api/ApiLevels.kt#L133:12
  • https://github.com/Kotlin/dataframe/blob/1a818ca7de494948ecdbedbc49958f75a1d7c48d/core/src/test/kotlin/org/jetbrains/kotlinx/dataframe/samples/api/ApiLevels.kt#L133:46

devcrocod avatar Jun 12 '24 10:06 devcrocod

These tests are @Ignored. Actually, most of them fail because DataFrame.read("titanic.csv"): dataframe/core/titanic.csv (No such file or directory). And this is by design I think. They're not supposed to run, they're just there to be exported by Korro.

Jolanrensen avatar Jun 13 '24 14:06 Jolanrensen

Yea, I know that these tests are ignored. But there is an error with compilation tests

devcrocod avatar Jun 13 '24 16:06 devcrocod

Hmm that I cannot reproduce, the tests compile and run fine on my end :/ Maybe someone else can reproduce it?

Jolanrensen avatar Jun 13 '24 18:06 Jolanrensen