All Downloads are FREE. Search and download functionalities are using the official Maven repository.

scala.reflect.internal.transform.RefChecks.scala Maven / Gradle / Ivy

The newest version!
package scala
package 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
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy