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

Wunused warns on qq fresh names #11918

som-snytt opened this issue Mar 23, 2020 · 1 comment

Wunused warns on qq fresh names #11918

som-snytt opened this issue Mar 23, 2020 · 1 comment


Copy link

@som-snytt som-snytt commented Mar 23, 2020

reproduction steps

// -Wunused
val q"$_.unapply($unargs)" = c.macroApplication


macros.scala:25:9: pattern var qq$macro$1 in method unapply is never used; `qq$macro$1@_` suppresses this warning
[error]     val q"$_.unapply($unargs)" = c.macroApplication
[error]         ^



@dwijnand dwijnand added the lint label Mar 23, 2020
@SethTisue SethTisue added this to the Backlog milestone Mar 23, 2020

This comment has been minimized.

Copy link

@som-snytt som-snytt commented Mar 24, 2020

Relatedly scala/scala#8803

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.