You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add origin filter to WConf, DeprecationWarning (#21404)
The `origin` parameter to `deprecationWarning` is optional; the
parameter to `DeprecationWarning` is not.
The `origin` of a deprecation is simply the deprecated symbol. The full
name is matched by the regex specified by `-Wconf`.
The other important use case is the `origin` of an unused element, in
particular, the selector which causes an "unused import" warning. That
use case will be supported in a follow-up PR, and should work as in
Scala 2.
Fixes#17538
0 commit comments