diff options
author | Paul Phillips <paulp@improving.org> | 2010-02-04 13:33:06 +0000 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2010-02-04 13:33:06 +0000 |
commit | a1a6ab90ac5fe7d5db2f6fba788ce14c1613d9c6 (patch) | |
tree | a70c578ce72906368a8e733ac8aff914ae8cbf42 /src/scalap | |
parent | 9ee1f2f3b8ed91897bb298592f8a600ff5e4622d (diff) | |
download | scala-a1a6ab90ac5fe7d5db2f6fba788ce14c1613d9c6.tar.gz scala-a1a6ab90ac5fe7d5db2f6fba788ce14c1613d9c6.tar.bz2 scala-a1a6ab90ac5fe7d5db2f6fba788ce14c1613d9c6.zip |
The remainder of isolating MSIL from the rest o...
The remainder of isolating MSIL from the rest of the classpath code. To
accomplish this I made ClassRep an inner class of ClassPath (which given
the broad definition of ClassPath already in place, it conceptually is
already) and as a bonus this allowed dropping its type parameter. Review
by rytz.
Diffstat (limited to 'src/scalap')
-rw-r--r-- | src/scalap/scala/tools/scalap/Main.scala | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/scalap/scala/tools/scalap/Main.scala b/src/scalap/scala/tools/scalap/Main.scala index dcc028d489..3a4779c6b7 100644 --- a/src/scalap/scala/tools/scalap/Main.scala +++ b/src/scalap/scala/tools/scalap/Main.scala @@ -279,12 +279,11 @@ object Main { } object EmptyClasspath extends ClassPath[AbstractFile] { - import tools.nsc.util.ClassRep /** * The short name of the package (without prefix) */ def name: String = "" - val classes: List[ClassRep[AbstractFile]] = Nil + val classes: List[ClassRep] = Nil val packages: List[ClassPath[AbstractFile]] = Nil val sourcepaths: List[AbstractFile] = Nil def isOptimized = false |