diff options
author | Martin Odersky <odersky@gmail.com> | 2013-06-15 22:01:42 +0200 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2013-06-15 22:01:42 +0200 |
commit | c190626eb0a7c6a314429bb4f3c498da989395fc (patch) | |
tree | b33b87a0d2cdc5b8d75be698143e1a7e759460db /src/dotty/tools/dotc/ast/TreeInfo.scala | |
parent | 658fc7f7070e8f13abd0391ff4e6045ac34e2891 (diff) | |
download | dotty-c190626eb0a7c6a314429bb4f3c498da989395fc.tar.gz dotty-c190626eb0a7c6a314429bb4f3c498da989395fc.tar.bz2 dotty-c190626eb0a7c6a314429bb4f3c498da989395fc.zip |
Removed ClassDef as a Tree node class.
ClassDefs are now TypeDefs that have a Template as rhs.
Diffstat (limited to 'src/dotty/tools/dotc/ast/TreeInfo.scala')
-rw-r--r-- | src/dotty/tools/dotc/ast/TreeInfo.scala | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/dotty/tools/dotc/ast/TreeInfo.scala b/src/dotty/tools/dotc/ast/TreeInfo.scala index 11d50fc1b..7e9c404eb 100644 --- a/src/dotty/tools/dotc/ast/TreeInfo.scala +++ b/src/dotty/tools/dotc/ast/TreeInfo.scala @@ -37,7 +37,6 @@ abstract class TreeInfo { */ def isIdempotentDef(tree: Tree[Type])(implicit ctx: Context): Boolean = tree match { case EmptyTree - | ClassDef(_, _, _) | TypeDef(_, _, _) | Import(_, _) | DefDef(_, _, _, _, _, _) => |