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

Align verbose warnings (-Wconf / @nowarn) with Scala 3 #12434

Open
lrytz opened this issue Jul 26, 2021 · 5 comments
Open

Align verbose warnings (-Wconf / @nowarn) with Scala 3 #12434

lrytz opened this issue Jul 26, 2021 · 5 comments

Comments

@lrytz
Copy link
Member

lrytz commented Jul 26, 2021

Once scala/scala3#12857 is merged:

  • In -Wconf, remove the info-verbose / iv action, rename the warning-verbose / wv action to verbose / v
  • Support @nowarn("verbose") in source code. Update the @nowarn annotation's Scaladocs.
  • Improve the "verbose" warnings output to explicitly display the filters that match the warning (cat=deprecation, site=a.b.C, ...)
@lrytz lrytz added this to the 2.13.7 milestone Jul 26, 2021
@lrytz lrytz self-assigned this Jul 26, 2021
@dwijnand
Copy link
Member

  • In -Wconf, remove the info-verbose / iv action, rename the warning-verbose / wv action to verbose / v

Deprecate?

@SethTisue
Copy link
Member

@lrytz is this a blocker for 2.13.7?

@lrytz
Copy link
Member Author

lrytz commented Oct 13, 2021

Nah, I don't think so

@lrytz lrytz removed the blocker label Oct 13, 2021
@SethTisue SethTisue self-assigned this Oct 21, 2021
@SethTisue SethTisue modified the milestones: 2.13.7, 2.13.8 Oct 22, 2021
@SethTisue SethTisue modified the milestones: 2.13.8, 2.13.9 Dec 15, 2021
@SethTisue SethTisue modified the milestones: 2.13.9, 2.13.10 Apr 25, 2022
@SethTisue SethTisue modified the milestones: 2.13.10, 2.13.11 Sep 29, 2022
@SethTisue SethTisue modified the milestones: 2.13.11, Backlog Feb 20, 2023
@som-snytt
Copy link

Kicking the can down the road and unassigning to foster work stealing.

@lrytz
Copy link
Member Author

lrytz commented Feb 21, 2023

I found that error-verbose would be very useful. When enabling fatal warnings in an existing project, it would be very helpful to see the verbose output in the new messages, to make it easier to write filters for some of them.

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

No branches or pull requests

4 participants