File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
compiler/src/dotty/tools/dotc Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -136,9 +136,9 @@ trait TreeInfo[T <: Untyped] { self: Trees.Instance[T] =>
136136
137137 /** All term arguments of an application in a single flattened list */
138138 def allTermArguments (tree : Tree ): List [Tree ] = unsplice(tree) match {
139- case Apply (fn, args) => allArguments (fn) ::: args
140- case TypeApply (fn, args) => allArguments (fn)
141- case Block (_, expr) => allArguments (expr)
139+ case Apply (fn, args) => allTermArguments (fn) ::: args
140+ case TypeApply (fn, args) => allTermArguments (fn)
141+ case Block (_, expr) => allTermArguments (expr)
142142 case _ => Nil
143143 }
144144
Original file line number Diff line number Diff line change @@ -206,7 +206,7 @@ object TreeChecker {
206206 private [TreeChecker ] def isValidJVMMethodName (name : Name ): Boolean = name.toString.forall(isValidJVMMethodChar)
207207
208208
209- class Checker (phasesToCheck : Seq [Phase ]) extends ReTyper with Checking {
209+ class Checker (phasesToCheck : Seq [Phase ]) extends ReTyper {
210210 import ast .tpd .*
211211
212212 protected val nowDefinedSyms = util.HashSet [Symbol ]()
You can’t perform that action at this time.
0 commit comments