Skip to content

Regression in durban/choam: Implicit resolution failure #23377

Closed as not planned
@bracevac

Description

@bracevac

Compiler version

3.7.2-RC1-bin-20250614-372f889-NIGHTLY

Minimized code

Needs minimization, the error is likely due to the implicit resolution changes in 3.7.

Output

info] compiling 3 Scala sources to /Users/wmazur/projects/scala/community-build3/repo/zi/jvm/target/scala-3.7.2-RC1-bin-20250614-372f889-NIGHTLY/classes ...
[error] -- [E172] Type Error: /Users/wmazur/projects/scala/community-build3/repo/zi/shared/src/main/scala/dev/tauri/choam/zi/TxnAppMixin.scala:46:69 
[error] 46 |    new Transactive.TransactiveImpl[Task](this.choamRuntime.mcasImpl)(this.asyncInstanceForZioTask)
[error]    |                                                                     ^
[error]    |No given instance of type cats.effect.kernel.Async[zio.Task] was found for a context parameter of constructor TransactiveImpl in class TransactiveImpl
[error]    |
[error]    |The following import might fix the problem:
[error]    |
[error]    |  import zio.interop.catz.asyncInstance
[error]    |
[error] one error found
[error] (zi / Compile / compileIncremental) Compilation failed

Expectation

No error.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions