This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import hoconspring.HoconType | |
import scala.language.experimental.macros | |
import scala.reflect.macros.blackbox | |
object BigMac { | |
def materializeHoconType[T]: HoconType[T] = macro materializeHoconType_impl[T] | |
def materializeHoconType_impl[T: c.WeakTypeTag](c: blackbox.Context): c.Expr[HoconType[T]] = { | |
import c.universe._ |