summaryrefslogblamecommitdiff
path: root/test/files/run/macro-typecheck-macrosdisabled.check
blob: c88d33b48e32c637b8eca8edba034fa64a0cb81f (plain) (tree)
1
2
3
4
5
6
7
8
9
  







                                                                                                                
                                                                                                                                  











                                                                
                                                                                                                                  






                                                                
  
                 
{
  val $u: reflect.runtime.universe.type = scala.reflect.runtime.`package`.universe;
  val $m: $u.Mirror = scala.reflect.runtime.`package`.universe.runtimeMirror(this.getClass().getClassLoader());
  $u.Expr.apply[Int(2)]($m, {
    final class $treecreator1 extends TreeCreator {
      def <init>(): $treecreator1 = {
        $treecreator1.super.<init>();
        ()
      };
      def apply[U >: Nothing <: scala.reflect.api.Universe with Singleton]($m$untyped: scala.reflect.api.MirrorOf[U]): U#Tree = {
        val $u: U = $m$untyped.universe;
        val $m: $u.Mirror = $m$untyped.asInstanceOf[$u.Mirror];
        $u.Literal.apply($u.Constant.apply(2))
      }
    };
    new $treecreator1()
  })($u.TypeTag.apply[Int(2)]($m, {
    final class $typecreator2 extends TypeCreator {
      def <init>(): $typecreator2 = {
        $typecreator2.super.<init>();
        ()
      };
      def apply[U >: Nothing <: scala.reflect.api.Universe with Singleton]($m$untyped: scala.reflect.api.MirrorOf[U]): U#Type = {
        val $u: U = $m$untyped.universe;
        val $m: $u.Mirror = $m$untyped.asInstanceOf[$u.Mirror];
        $u.ConstantType.apply($u.Constant.apply(2))
      }
    };
    new $typecreator2()
  }))
}
ru.reify[Int](2)