summaryrefslogtreecommitdiff
path: root/test/files/run/docgenerator.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/run/docgenerator.scala')
-rw-r--r--test/files/run/docgenerator.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/files/run/docgenerator.scala b/test/files/run/docgenerator.scala
index ccb5b50ed6..e3f724a603 100644
--- a/test/files/run/docgenerator.scala
+++ b/test/files/run/docgenerator.scala
@@ -114,7 +114,7 @@ object Foo2 {
def process(args: Array[String]) {
val docSettings = new scala.tools.nsc.doc.Settings(error)
reporter = new ConsoleReporter(docSettings)
- val command = new CompilerCommand(List.fromArray(args), docSettings, error, false)
+ val command = new CompilerCommand(args.toList, docSettings, error, false)
try {
object compiler extends Global(command.settings, reporter) {
override protected def computeInternalPhases() : Unit = {