Skip to content

Using scala-collection-compat together with silencer-plugin is broken #418

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

Closed
sideeffffect opened this issue Jan 27, 2021 · 2 comments
Closed

Comments

@sideeffffect
Copy link

sideeffffect commented Jan 27, 2021

When you use scala-collection-compat library together with the silencer-plugin compiler plugin, you get errors like this:

[error] /home/runner/work/izumi-reflect/izumi-reflect/izumi-reflect/izumi-reflect/src/main/scala/izumi/reflect/internal/fundamentals/collections/IzMappings.scala:26:4: expected literal string as @nowarn annotation argument
[error]   @nowarn("msg=deprecated")
[error]    ^

Workaround is to drop silencer-plugin, but that might not be the desired solution.

Related:
zio/izumi-reflect#121
#413 (comment)
#417

/cc @SethTisue @ekrich

@SethTisue
Copy link
Member

@ghik I assume this would be actionable in your repo, rather than here?

@ghik
Copy link
Contributor

ghik commented Jan 27, 2021

@SethTisue looks like it, please report in silencer

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

3 participants