Skip to content
This repository
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 13 lines (10 sloc) 0.247 kb
1 2 3 4 5 6 7 8 9 10 11 12 13
package scala.reflect
package internal
package transform

trait RefChecks {

  val global: SymbolTable
  import global._

  def transformInfo(sym: Symbol, tp: Type): Type =
    if (sym.isModule && !sym.isStatic) NullaryMethodType(tp)
    else tp
}
Something went wrong with that request. Please try again.