Skip to content

Commit 0106c56

Browse files
committed
Annotate StandardPlugin.init with @deprecatedOverriding
1 parent 75508bb commit 0106c56

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

compiler/src/dotty/tools/dotc/plugins/Plugin.scala

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,8 @@ trait StandardPlugin extends Plugin {
5151
* @param options commandline options to the plugin.
5252
* @return a list of phases to be added to the phase plan
5353
*/
54-
@deprecated("`init` does not allow to access `Context`, use `initialize` instead.", since = "3.5.0")
54+
@deprecatedOverriding("Method 'init' does not allow to access 'Context', use 'initialize' instead.", since = "Scala 3.5.0")
55+
@deprecated("Use 'initialize' instead.", since = "Scala 3.5.0")
5556
def init(options: List[String]): List[PluginPhase] = Nil
5657

5758
/** Non-research plugins should override this method to return the phases

0 commit comments

Comments
 (0)