-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
-Wconf
src
filter not implemented
#18782
Comments
Duplicates #17634 which was deemed not regressive enough to warrant a ticket without further discussion. |
Ah ok I didn't realize that before opening an issue I am supposed to search in resolved tickets as well. |
I remembered because someone commented on the discussion that they would like to fix it, but of course they will need an open ticket! So your timing is impeccable. |
-Wconf
src
filter not implemented
Thanks for this @povder! I was looking it up because the issue prevents me using Play with Scala 3 (with warnings as errors), so this is very well timed for me personally :-D |
Compiler version
3.3.1
Scala 2's
-WConf
filters includesrc
filter which allows configuring warnings for a given source path pattern. It is missing in Scala 3. It is handy for ignoring warnings for generated sources where you have no option of placing@nowarn
annotations. Right now I'm facing a problem were I can't enable-Werror
because of warnings reported in generated sources (in my case generated by ScalaPB protobuf compiler).It would be great to bring all Scala2
WConf
filters to Scala 3 but this issue is just aboutsrc
. I am willing to contribute a pull request for this.The text was updated successfully, but these errors were encountered: