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

org.scalamacros.paradise.reflect.Mirrors.scala Maven / Gradle / Ivy

The newest version!
package org.scalamacros.paradise
package reflect

trait Mirrors {
  self: Enrichments =>

  import global._
  import scala.language.reflectiveCalls

  implicit class ParadiseMirror(m: RootsBase) {
    def missingHook(owner: Symbol, name: Name): Symbol = {
      val reflectiveThis = m.asInstanceOf[{ def missingHook(owner: Symbol, name: Name): Symbol }]
      reflectiveThis.missingHook(owner, name)
    }
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy