When adding `arrow-core-high-arity` module as a de...
# arrow
k
When adding
arrow-core-high-arity
module as a dependency, the compiler doesn’t seem to understand what’s going on and throws a ton of errors like:
Copy code
Unresolved reference: catch
 Unresolved reference: raise
 Unresolved reference: it
 Unresolved reference: ensure
 Unresolved reference: either
...
This is during the kotlinCompile task. The IDE still picks up the correct objects and I can still control click into them visit their sources.
s
What does your dependency block look like? Seems something was wrong during publishing since @Marc also had an issue. Strange, I've been able to use 2.0-alpha.2 in some places. We changed to https://github.com/vanniktech/gradle-maven-publish-plugin but maybe something else is wrong in our Gradle
k
I’m using the while
libs.versions.toml
driving my dependencies. The Arrow deps look like:
Copy code
arrow-bom = { module = "io.arrow-kt:arrow-stack", version.ref = "arrow" }
arrow-core = { module = "io.arrow-kt:arrow-core" }
arrow-core-high-arity = { module = "io.arrow-kt:arrow-core-high-arity" }
arrow-fx-coroutines = { module = "io.arrow-kt:arrow-fx-coroutines" }
arrow-optics = { module = "io.arrow-kt:arrow-optics" }
and
Copy code
[bundles]
arrow = [
  "arrow-core",
  "arrow-fx-coroutines",
  "arrow-core-high-arity",
  "arrow-optics"
]
and
Copy code
implementation(platform(libs.arrow.bom))
  implementation(libs.bundles.arrow)
(1.2.4)
s
Oh, you're seeing that issue on 1.2.4... 🤔 That was released using the same infra as all version before, only since 2.0.0-alpha.1 we switched to new publishing infra.