ammonite.main.Compat.scala Maven / Gradle / Ivy
package ammonite.main
import scala.reflect.macros.blackbox.Context
object Compat{
def copyAnnotatedType(c: Context)
(tpe: c.universe.AnnotatedType,
newAnnots: List[c.universe.Annotation]) = {
import c.universe.compat._
c.universe.AnnotatedType(newAnnots, tpe.underlying)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy