diff options
author | Paul Phillips <paulp@improving.org> | 2011-05-16 21:08:23 +0000 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2011-05-16 21:08:23 +0000 |
commit | a3d53243c6ac56d973d437cf16d4d235bb64141b (patch) | |
tree | a0ee596c8592596a628d962b17643436b0d0e756 /src/compiler/scala/tools/nsc/util/CharArrayReader.scala | |
parent | 7127d8293775905acd0d04e21d9e045b5c029261 (diff) | |
download | scala-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.scala | 2 |
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 => |