Closed 2m closed 3 months ago
The only difference I see is that decline used since in the deprecated annotation.
I think it's either this or deprecated
does not play well with inline methods.
Yea, that's right. Just tried it in my local project, and as soon as I add inline
, deprecation warning disappears.
I think you should open an issue on https://github.com/scala/scala3. Feel free to link the issue here once done.
Scala environment: JVM Scala version: 3.4.0 Iron version: 2.5.0
Deprecation warnings are not generated for
refine
usage.Output:
An example of deprecated method usage from another library where deprecation warning shows up in
scala-cli
:Output:
The only difference I see is that
decline
usedsince
in thedeprecated
annotation.