summaryrefslogblamecommitdiff
path: root/test/files/pos/t1591b.scala
blob: c671ad64729d142fc721399417ad705f53ea9db4 (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 _
  }
}