aboutsummaryrefslogtreecommitdiff
path: root/src/dotty/tools/dotc/ast/TreeInfo.scala
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2013-06-15 22:01:42 +0200
committerMartin Odersky <odersky@gmail.com>2013-06-15 22:01:42 +0200
commitc190626eb0a7c6a314429bb4f3c498da989395fc (patch)
treeb33b87a0d2cdc5b8d75be698143e1a7e759460db /src/dotty/tools/dotc/ast/TreeInfo.scala
parent658fc7f7070e8f13abd0391ff4e6045ac34e2891 (diff)
downloaddotty-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.scala1
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(_, _, _, _, _, _) =>