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 @@ -136,9 +136,9 @@ trait TreeInfo[T <: Untyped] { self: Trees.Instance[T] =>
136
136
137
137
/** All term arguments of an application in a single flattened list */
138
138
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)
142
142
case _ => Nil
143
143
}
144
144
Original file line number Diff line number Diff line change @@ -206,7 +206,7 @@ object TreeChecker {
206
206
private [TreeChecker ] def isValidJVMMethodName (name : Name ): Boolean = name.toString.forall(isValidJVMMethodChar)
207
207
208
208
209
- class Checker (phasesToCheck : Seq [Phase ]) extends ReTyper with Checking {
209
+ class Checker (phasesToCheck : Seq [Phase ]) extends ReTyper {
210
210
import ast .tpd .*
211
211
212
212
protected val nowDefinedSyms = util.HashSet [Symbol ]()
You can’t perform that action at this time.
0 commit comments