diff options
author | paltherr <paltherr@epfl.ch> | 2005-02-08 13:39:51 +0000 |
---|---|---|
committer | paltherr <paltherr@epfl.ch> | 2005-02-08 13:39:51 +0000 |
commit | 5722c3dd698573182c5d7c49d76870c37874023f (patch) | |
tree | 0861de094e9ba3bda9f6ae6abb5d382c12df1890 /sources | |
parent | 8c930dea2f059de36f948a10cc70c2efb66cf91b (diff) | |
download | scala-5722c3dd698573182c5d7c49d76870c37874023f.tar.gz scala-5722c3dd698573182c5d7c49d76870c37874023f.tar.bz2 scala-5722c3dd698573182c5d7c49d76870c37874023f.zip |
- Fixed type of name
Diffstat (limited to 'sources')
-rw-r--r-- | sources/scala/tools/nsc/ast/Trees.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sources/scala/tools/nsc/ast/Trees.scala b/sources/scala/tools/nsc/ast/Trees.scala index 2832f72594..98adab547a 100644 --- a/sources/scala/tools/nsc/ast/Trees.scala +++ b/sources/scala/tools/nsc/ast/Trees.scala @@ -433,7 +433,7 @@ class Trees: Global { if (mods0 == mods && name0 == name && tparams0 == tparams && vparams0 == vparams && tp0 == tp && impl0 == impl) => t case _ => copy.ClassDef(tree, mods, name, tparams, vparams, tp, impl) } - def PackageDef(tree: Tree, name: Tree, stats: List[Tree]) = tree match { + def PackageDef(tree: Tree, name: Name, stats: List[Tree]) = tree match { case t @ PackageDef(name0, stats0) if (name0 == name && stats0 == stats) => t case _ => copy.PackageDef(tree, name, stats) |