From 25d692b76fe30e31c9b51c93c1604d619a80b4d4 Mon Sep 17 00:00:00 2001 From: Paul Phillips Date: Sat, 11 Jun 2011 20:33:09 +0000 Subject: Informs the bootstrap code which preferences ce... Informs the bootstrap code which preferences certain source files about EmbeddedControls.scala, necessary so that starrs from trunk can be used to build scala-virtualized. No review. --- src/compiler/scala/tools/nsc/Global.scala | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/compiler/scala/tools/nsc/Global.scala') diff --git a/src/compiler/scala/tools/nsc/Global.scala b/src/compiler/scala/tools/nsc/Global.scala index 9405d11a02..177bd8dbbd 100644 --- a/src/compiler/scala/tools/nsc/Global.scala +++ b/src/compiler/scala/tools/nsc/Global.scala @@ -1105,7 +1105,7 @@ class Global(var currentSettings: Settings, var reporter: Reporter) extends Symb /** * Re-orders the source files to * 1. ScalaObject - * 2. LowPriorityImplicits / StandardEmbeddings (i.e. parents of Predef) + * 2. LowPriorityImplicits / EmbeddedControls (i.e. parents of Predef) * 3. the rest * * 1 is to avoid cyclic reference errors. @@ -1135,6 +1135,7 @@ class Global(var currentSettings: Settings, var reporter: Reporter) extends Symb case "ScalaObject.scala" => 1 case "LowPriorityImplicits.scala" => 2 case "StandardEmbeddings.scala" => 2 + case "EmbeddedControls.scala" => 2 case "Predef.scala" => 3 /* Predef.scala before Any.scala, etc. */ case _ => goLast } -- cgit v1.2.3