Disappearing deprecation warning with unhelpful suggestion #20340
Labels
area:reporting
Error reporting including formatting, implicit suggestions, etc
better-errors
Issues concerned with improving confusing/unhelpful diagnostic messages
itype:enhancement
Compiler version
Scala compiler version 3.3.1 -- Copyright 2002-2023, LAMP/EPFL
Minimized example
To reproduce:
scala-vanishing-deprecation-warning
(or this commit)Output Error/Warning message
Why this Error/Warning was not helpful
The deprecation warning is not showed, it is not clear how to show it (how the flag must be passed?), and re-compiling the project doesn't show the warning anymore.
Suggested improvement
It could be made more helpful by showing the deprecation warning and/or give more precise information on how it can be showed (e.g., by linking to some online documentation). Further, the message should be shown on every compilation rather than just the first one.
The text was updated successfully, but these errors were encountered: