diff --git a/compiler/test/dotty/tools/utils.scala b/compiler/test/dotty/tools/utils.scala index a5ebf0d59ec0..c33310acf06e 100644 --- a/compiler/test/dotty/tools/utils.scala +++ b/compiler/test/dotty/tools/utils.scala @@ -87,7 +87,7 @@ def toolArgsFor(files: List[JPath], charset: Charset = UTF_8): ToolArgs = /** Take a prefix of each file, extract tool args, parse, and combine. * Arg parsing respects quotation marks. Result is a map from ToolName to the combined tokens. - * If the ToolName is Target, then also accumulate the file name associated with the given platform. + * If the ToolName is Target, then also accumulate the file name associated with the given platform. */ def platformAndToolArgsFor(files: List[JPath], charset: Charset = UTF_8): (PlatformFiles, ToolArgs) = files.foldLeft(Map.empty[TestPlatform, List[String]] -> Map.empty[ToolName, List[String]]) { (res, path) => diff --git a/tests/warn/i18564.scala b/tests/warn/i18564.scala index 3da41265015c..19682b7955f9 100644 --- a/tests/warn/i18564.scala +++ b/tests/warn/i18564.scala @@ -1,5 +1,5 @@ -//> using option -Wunused:imports +//> using options -Wunused:imports import scala.compiletime.* import scala.deriving.*