aboutsummaryrefslogtreecommitdiff
path: root/src/dotty/tools/dotc/core/TreeInfo.scala
diff options
context:
space:
mode:
Diffstat (limited to 'src/dotty/tools/dotc/core/TreeInfo.scala')
-rw-r--r--src/dotty/tools/dotc/core/TreeInfo.scala10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/dotty/tools/dotc/core/TreeInfo.scala b/src/dotty/tools/dotc/core/TreeInfo.scala
index cb621164c..c3d0d4ece 100644
--- a/src/dotty/tools/dotc/core/TreeInfo.scala
+++ b/src/dotty/tools/dotc/core/TreeInfo.scala
@@ -16,7 +16,7 @@ abstract class TreeInfo {
def isDeclarationOrTypeDef(tree: Tree[_ >: Untyped]): Boolean = tree match {
case DefDef(_, _, _, _, _, EmptyTree())
| ValDef(_, _, _, EmptyTree())
- | TypeDef(_, _, _) => true
+ | TypeDef(_, _, _, _) => true
case _ => false
}
@@ -25,7 +25,7 @@ abstract class TreeInfo {
def isInterfaceMember(tree: Tree[_ >: Untyped]): Boolean = tree match {
case EmptyTree() => true
case Import(_, _) => true
- case TypeDef(_, _, _) => true
+ case TypeDef(_, _, _, _) => true
case DefDef(mods, _, _, _, _, __) => mods.flags is Deferred
case ValDef(mods, _, _, _) => mods is Deferred
case _ => false
@@ -37,7 +37,7 @@ abstract class TreeInfo {
def isIdempotentDef(tree: Tree[Type])(implicit ctx: Context): Boolean = tree match {
case EmptyTree()
| ClassDef(_, _, _, _)
- | TypeDef(_, _, _)
+ | TypeDef(_, _, _, _)
| Import(_, _)
| DefDef(_, _, _, _, _, _) =>
true
@@ -231,7 +231,7 @@ abstract class TreeInfo {
}
def isEarlyTypeDef(tree: Tree[_ >: Untyped]) = tree match {
- case TypeDef(mods, _, _) => mods is Scala2PreSuper
+ case TypeDef(mods, _, _, _) => mods is Scala2PreSuper
case _ => false
}
@@ -476,4 +476,4 @@ abstract class TreeInfo {
case _ => false
})*/
}
-object treeInfo extends TreeInfo \ No newline at end of file
+object TreeInfo extends TreeInfo \ No newline at end of file