Skip to content

Commit 5a40ae6

Browse files
lolgabWojciechMazur
authored andcommitted
Remove redundant .toList call on a List
Co-authored-by: Nicolas Stucki <[email protected]> [Cherry-picked 0c04c2e]
1 parent 21ff130 commit 5a40ae6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/src/dotty/tools/MainGenericRunner.scala

+1-1
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ object MainGenericRunner {
148148
case (o @ javaOption(striped)) :: tail =>
149149
processArgs(tail, settings.withJavaArgs(striped).withScalaArgs(o))
150150
case (o @ scalaOption(_*)) :: tail =>
151-
val remainingArgs = (CommandLineParser.expandArg(o) ++ tail).toList
151+
val remainingArgs = CommandLineParser.expandArg(o) ++ tail
152152
processArgs(remainingArgs, settings)
153153
case (o @ colorOption(_*)) :: tail =>
154154
processArgs(tail, settings.withScalaArgs(o))

0 commit comments

Comments
 (0)