summaryrefslogtreecommitdiff
path: root/src/compiler/scala/tools/nsc/javac
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2011-05-16 21:08:23 +0000
committerPaul Phillips <paulp@improving.org>2011-05-16 21:08:23 +0000
commita3d53243c6ac56d973d437cf16d4d235bb64141b (patch)
treea0ee596c8592596a628d962b17643436b0d0e756 /src/compiler/scala/tools/nsc/javac
parent7127d8293775905acd0d04e21d9e045b5c029261 (diff)
downloadscala-a3d53243c6ac56d973d437cf16d4d235bb64141b.tar.gz
scala-a3d53243c6ac56d973d437cf16d4d235bb64141b.tar.bz2
scala-a3d53243c6ac56d973d437cf16d4d235bb64141b.zip
This patch and the several to follow represent ...
This patch and the several to follow represent an attempt to break up a very large patch from martin which moves much of the compiler's typing infrastructure into the library so that we can utilize the same machinery at runtime that we do at compile time. Said attempt was not very successful, either at maintaining working order while committing incrementally or at subdividing the patch into distinct cohesive units. So let the record show that I tried. -- some notes on the implementation -- This should not be judged as a finished work, but it's a necessary opening step for implementing a reflection API without duplicating much of the compiler. The files in scala.reflect.common are destined for the library (not the compiler, where they are now) but have not yet made the leap to manage compatibility issues. scala.reflect.generic is likely to be replaced by an alias to scala.reflect.common. The fate of scala.reflect.Code and its derived classes is yet to be determined. This first patch contains about the only delta against martin's patch, which is to promote Chars into scala.reflect. Review by odersky.
Diffstat (limited to 'src/compiler/scala/tools/nsc/javac')
-rw-r--r--src/compiler/scala/tools/nsc/javac/JavaScanners.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/scala/tools/nsc/javac/JavaScanners.scala b/src/compiler/scala/tools/nsc/javac/JavaScanners.scala
index ed5ebb1a01..841b28c56f 100644
--- a/src/compiler/scala/tools/nsc/javac/JavaScanners.scala
+++ b/src/compiler/scala/tools/nsc/javac/JavaScanners.scala
@@ -7,7 +7,7 @@ package scala.tools.nsc
package javac
import scala.tools.nsc.util._
-import Chars._
+import scala.reflect.Chars._
import JavaTokens._
import scala.annotation.switch