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 @@ -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
Original file line number Diff line number Diff line change @@ -236,7 +236,7 @@ object TreeChecker {
236236  private [TreeChecker ] def  isValidJVMMethodName (name : Name ):  Boolean  =  name.toString.forall(isValidJVMMethodChar)
237237
238238
239-   class  Checker (phasesToCheck : Seq [Phase ]) extends  ReTyper  with   Checking   {
239+   class  Checker (phasesToCheck : Seq [Phase ]) extends  ReTyper  {
240240    import  ast .tpd .* 
241241
242242    protected  val  nowDefinedSyms  =  util.HashSet [Symbol ]()
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments