这是indexloc提供的服务,不要输入任何密码
Skip to content

Spurious unused-import errors in 2.6.25 #13334

Answered by mkurz
jducoeur asked this question in Q&A
Discussion options

You must be logged in to vote

You can see the scala files twirl generates in target/scala-2.11/twirl/ (assuming Scala 2.11). Just look what it generates with and without the @.

In general, regarding the warnings we have an open issue, which - since Scala 2.13 (and I think 2.12 as well) supports the -Wconf flag - is not that pressing anymore:

Also, since you are using Play 2.6.x I can not really help you here. But yes, using the silencer plugin may be an option until you upgrade to a newer version.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@jducoeur
Comment options

Answer selected by jducoeur
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants