Skip to content

Commit aa9115d

Browse files
committed
Fix typo in allTermArguments
1 parent 658edd7 commit aa9115d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

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

+3-3
Original file line numberDiff line numberDiff line change
@@ -142,9 +142,9 @@ trait TreeInfo[T <: Untyped] { self: Trees.Instance[T] =>
142142

143143
/** All term arguments of an application in a single flattened list */
144144
def allTermArguments(tree: Tree): List[Tree] = unsplice(tree) match {
145-
case Apply(fn, args) => allArguments(fn) ::: args
146-
case TypeApply(fn, args) => allArguments(fn)
147-
case Block(_, expr) => allArguments(expr)
145+
case Apply(fn, args) => allTermArguments(fn) ::: args
146+
case TypeApply(fn, args) => allTermArguments(fn)
147+
case Block(_, expr) => allTermArguments(expr)
148148
case _ => Nil
149149
}
150150

0 commit comments

Comments
 (0)