Skip to content

Commit ff32e6e

Browse files
committed
Drop false comment
1 parent 81f36c9 commit ff32e6e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

compiler/src/dotty/tools/dotc/ast/TreeInfo.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -471,7 +471,7 @@ trait TypedTreeInfo extends TreeInfo[Type] { self: Trees.Instance[Type] =>
471471
}
472472

473473
/** Is tree a compiler-generated `.apply` node that refers to the
474-
* apply of a function class? (implicit functions are excluded)
474+
* apply of a function class?
475475
*/
476476
def isSyntheticApply(tree: Tree): Boolean = tree match {
477477
case Select(qual, nme.apply) => tree.pos.end == qual.pos.end
@@ -710,7 +710,7 @@ object TreeInfo {
710710
/*
711711
def isAbsTypeDef(tree: Tree) = tree match {
712712
case TypeDef(_, _, _, TypeBoundsTree(_, _)) => true
713-
case TypeDef(_, _, _, rhs) => rhs.tpe. isInstanceOf[TypeBounds]
713+
case TypeDef(_, _, _, rhs) => rhs.tpe.isInstanceOf[TypeBounds]
714714
case _ => false
715715
}
716716

0 commit comments

Comments
 (0)