summaryrefslogblamecommitdiff
path: root/test/files/pos/t1591b.scala
blob: 84372bb08444567e5f55fdabc76d39c3eaf10f3e (plain) (tree)
1
2
3
4
5
6
7

                        

                                               

                         
  





                                                          
import scala.tools.nsc._

class SemanticTokens(val compiler: Global) {   
  import compiler._  

  def build() = ErrorType
  
  class Process {
    def f() = analyzer
    // or to crash the compiler instead of a nice message,
    // def f() = analyzer underlying _
  }
}