We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
3.5.1
package p: val code = "\"hello, world\"" package q: import p.* import scala.compiletime.testing.* def test() = typeCheckErrors("println(code)") @main def test() = println: q.test()
➜ snips scala run --server=false -Wunused:all testing.scala -- [E198] Unused Symbol Warning: /home/amarki/snips/testing.scala:6:11 ------------------------------------------------- 6 | import p.* | ^ | unused import 1 warning found List()
It would be nice if the lint were aware of compiletime ops.
compiletime
The text was updated successfully, but these errors were encountered:
origin
unused import
-Wnonunit-statement
My first idea was to improve representation of these ops with Inlined nodes, which would preserve references for the lint.
Inlined
Sorry, something went wrong.
No branches or pull requests
Compiler version
3.5.1
Minimized code
Output
Expectation
It would be nice if the lint were aware of
compiletime
ops.The text was updated successfully, but these errors were encountered: