Skip to content

Inaccurate Scalaz-deriving Errors #1503

Open
@j-potts

Description

@j-potts

Hey guys,

Looks like there may be some compatibility issues with the latest scalaz-deriving and bloop. Under my multi-project mono-repo I'm using the following libs:

  • Bloop v1.4.8-19-4d9f966b
  • scala 2.12.10
  • scalaz-deriving 3.0.0-M2
  • scalaz 7.3.3
  • pureconfig 0.13.0

The issue I'm facing is that using those libs together will cause persistent errors to show up, despite not showing up when compiling within SBT. Here a code snippet as an example...

import pureconfig.ConfigReader
import scalaz.annotation.deriving

@deriving(ConfigReader)
final case class Foo(
    name: String,
    phone: String)

This will result in...

could not find implicit value for parameter F: scalaz.DerivingProducts[pureconfig.ConfigReader]

This issue seems to prevent Metals and Bloop from properly compiling dependent files, and breaks IDE functionality downstream.

Thanks for the help!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions