Skip to content

Scala 3 support #54

@piotr-sumo

Description

@piotr-sumo

I have the following line in my code:

private val deployments = Deployments(config.get[List[Deployment]]("deployments").valueOrElse(List.empty))

where Deployment is a case class with some String fields and Deployments is a case class with one field List[Deployment].
Compilation of the code pasted above fails with

[error] 21 |  private val deployments = Deployments(config.get[List[Deployment]]("deployments").valueOrElse(List.empty))
[error]    |                                                                                   ^
[error]    |Reference to method errorJavaListConfigReader in class ConfigReaderInstances0 should not have survived,
[error]    |it should have been processed and eliminated during expansion of an enclosing macro or term erasure.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions