Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scala 3 support #54

Open
piotr-sumo opened this issue May 25, 2021 · 0 comments
Open

Scala 3 support #54

piotr-sumo opened this issue May 25, 2021 · 0 comments

Comments

@piotr-sumo
Copy link

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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant