diff options
author | paltherr <paltherr@epfl.ch> | 2004-02-01 18:05:10 +0000 |
---|---|---|
committer | paltherr <paltherr@epfl.ch> | 2004-02-01 18:05:10 +0000 |
commit | c86863e436b5ce337284a4cb71ef875d9c419abb (patch) | |
tree | 41be1430cc56c44fb7001fd60c61b654640802b6 /sources/scalac/backend | |
parent | 06bad88d6cd96165df940f8bd1b13eecc0d4fadf (diff) | |
download | scala-c86863e436b5ce337284a4cb71ef875d9c419abb.tar.gz scala-c86863e436b5ce337284a4cb71ef875d9c419abb.tar.bz2 scala-c86863e436b5ce337284a4cb71ef875d9c419abb.zip |
- Removed top-level ValDefs (modules)
Diffstat (limited to 'sources/scalac/backend')
-rw-r--r-- | sources/scalac/backend/msil/GenMSIL.java | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/sources/scalac/backend/msil/GenMSIL.java b/sources/scalac/backend/msil/GenMSIL.java index 2e359011a5..c12cfea8ea 100644 --- a/sources/scalac/backend/msil/GenMSIL.java +++ b/sources/scalac/backend/msil/GenMSIL.java @@ -191,9 +191,6 @@ public final class GenMSIL { //currModule = getPackage(packageName); genPackage(currAssembly, impl.body); break; - case ValDef(_, _, _, _): - //log("ValDef: " + dumpSym(tree.symbol())); - break; default: throw new ApplicationError ("Illegal top-level definition: " + Debug.show(tree)); @@ -218,13 +215,6 @@ public final class GenMSIL { genClass(sym, classBody); break; - case ValDef(_, _, Tree tpe, Tree rhs): - if (sym.isModule()) { - } else - throw new ApplicationError(); - //log("ValDef: " + dumpSym(tree.symbol())); - break; - case PackageDef(Tree packaged, Template(_ , Tree[] body2)): //log("genPackage: nested package: " + dumpSym(sym)); genPackage(currAssembly, body2); |