Skip to content

Commit

Permalink
Annotate StandardPlugin.init with @deprecatedOverriding
Browse files Browse the repository at this point in the history
  • Loading branch information
WojciechMazur committed May 3, 2024
1 parent ed811f0 commit 87a1b29
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion compiler/src/dotty/tools/dotc/plugins/Plugin.scala
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,8 @@ trait StandardPlugin extends Plugin {
* @param options commandline options to the plugin.
* @return a list of phases to be added to the phase plan
*/
@deprecated("`init` does not allow to access `Context`, use `initialize` instead.", since = "3.5.0")
@deprecatedOverriding("Method 'init' does not allow to access 'Context', use 'initialize' instead.", since = "Scala 3.5.0")
@deprecated("Use 'initialize' instead.", since = "Scala 3.5.0")
def init(options: List[String]): List[PluginPhase] = Nil

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

0 comments on commit 87a1b29

Please sign in to comment.