File tree 2 files changed +4
-4
lines changed
compiler/src/dotty/tools/dotc
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -142,9 +142,9 @@ trait TreeInfo[T <: Untyped] { self: Trees.Instance[T] =>
142
142
143
143
/** All term arguments of an application in a single flattened list */
144
144
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)
148
148
case _ => Nil
149
149
}
150
150
Original file line number Diff line number Diff line change @@ -236,7 +236,7 @@ object TreeChecker {
236
236
private [TreeChecker ] def isValidJVMMethodName (name : Name ): Boolean = name.toString.forall(isValidJVMMethodChar)
237
237
238
238
239
- class Checker (phasesToCheck : Seq [Phase ]) extends ReTyper with Checking {
239
+ class Checker (phasesToCheck : Seq [Phase ]) extends ReTyper {
240
240
import ast .tpd .*
241
241
242
242
protected val nowDefinedSyms = util.HashSet [Symbol ]()
You can’t perform that action at this time.
0 commit comments