From 4ae91340bb9c84035852a0615d81d56e66733cfc Mon Sep 17 00:00:00 2001 From: Tomasz Godzik Date: Tue, 4 Feb 2025 14:02:11 +0100 Subject: [PATCH 1/2] Add the macro type-print test to an run-macros-scala2-library-tasty.blacklist [Cherry-picked 7f70ed3a3d100b697d18b541a0ec09ca788b826d][modified] From 00cc1b67ff653ff51eaabb43ee10d51b3fde0e2e Mon Sep 17 00:00:00 2001 From: Tomasz Godzik Date: Tue, 4 Feb 2025 15:24:20 +0100 Subject: [PATCH 2/2] bugfix: Adjust newly added test to the older plugin syntax --- tests/plugins/run/scriptWrapper/LineNumberPlugin_1.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/plugins/run/scriptWrapper/LineNumberPlugin_1.scala b/tests/plugins/run/scriptWrapper/LineNumberPlugin_1.scala index 888d5f95838d..c41d26379c9b 100644 --- a/tests/plugins/run/scriptWrapper/LineNumberPlugin_1.scala +++ b/tests/plugins/run/scriptWrapper/LineNumberPlugin_1.scala @@ -12,7 +12,7 @@ class LineNumberPlugin extends StandardPlugin { val name: String = "linenumbers" val description: String = "adjusts line numbers of script files" - override def initialize(options: List[String])(using Context): List[PluginPhase] = FixLineNumbers() :: Nil + override def init(options: List[String]): List[PluginPhase] = FixLineNumbers() :: Nil } // Loosely follows Mill linenumbers plugin (scan for marker with "original" source, adjust line numbers to match)