summaryrefslogtreecommitdiff
path: root/src/compiler/scala/tools/nsc/util/CharArrayReader.scala
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/util/CharArrayReader.scala
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/util/CharArrayReader.scala')
-rw-r--r--src/compiler/scala/tools/nsc/util/CharArrayReader.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/scala/tools/nsc/util/CharArrayReader.scala b/src/compiler/scala/tools/nsc/util/CharArrayReader.scala
index bdf33476cc..e38f99b42c 100644
--- a/src/compiler/scala/tools/nsc/util/CharArrayReader.scala
+++ b/src/compiler/scala/tools/nsc/util/CharArrayReader.scala
@@ -6,7 +6,7 @@
package scala.tools.nsc
package util
-import Chars._
+import scala.reflect.Chars._
abstract class CharArrayReader { self =>