Skip to content

Commit e3eacae

Browse files
committed
bugfix: Fix issue with changed compiler plugin API
1 parent 382ba38 commit e3eacae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/plugins/run/scriptWrapper/LineNumberPlugin_1.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ class LineNumberPlugin extends StandardPlugin {
1212
val name: String = "linenumbers"
1313
val description: String = "adjusts line numbers of script files"
1414

15-
override def initialize(options: List[String])(using Context): List[PluginPhase] = FixLineNumbers() :: Nil
15+
override def init(options: List[String]): List[PluginPhase] = FixLineNumbers() :: Nil
1616
}
1717

1818
// Loosely follows Mill linenumbers plugin (scan for marker with "original" source, adjust line numbers to match)

0 commit comments

Comments
 (0)