summaryrefslogtreecommitdiff
path: root/test/files/run/macro-typecheck-macrosdisabled2.check
diff options
context:
space:
mode:
authorEugene Burmako <xeno.by@gmail.com>2012-07-31 14:14:01 +0200
committerEugene Burmako <xeno.by@gmail.com>2012-08-02 15:51:30 +0200
commita354ec2a77f83f57680c576758ddfa9234083b9e (patch)
treec0090d6f6ab663b8c3845838f3a9e96f25168f29 /test/files/run/macro-typecheck-macrosdisabled2.check
parenta19f0e83bf18a435bac9c984781f66ac3d94822c (diff)
downloadscala-a354ec2a77f83f57680c576758ddfa9234083b9e.tar.gz
scala-a354ec2a77f83f57680c576758ddfa9234083b9e.tar.bz2
scala-a354ec2a77f83f57680c576758ddfa9234083b9e.zip
first stab at serialization of exprs and tags
Instead of trying to serialize the entire universe and failing miserably (which happens now), exprs and type tags will now serialize their creators and deserialize into scala.reflect.basis. Since creators produced by reification are not serializable right now, serialization will crash. That's a small improvement over state of the art functionality-wise, but it's a step forward robustness-wise. Next step in this direction is generation of serialization code for creators. Related issues: SI-5919 and SI-5908. Also see the discussion at scala-internals http://groups.google.com/group/scala-internals/browse_thread/thread/ef63f8b5bd194c7c
Diffstat (limited to 'test/files/run/macro-typecheck-macrosdisabled2.check')
-rw-r--r--test/files/run/macro-typecheck-macrosdisabled2.check5
1 files changed, 0 insertions, 5 deletions
diff --git a/test/files/run/macro-typecheck-macrosdisabled2.check b/test/files/run/macro-typecheck-macrosdisabled2.check
index 908fb65bb3..55e7913250 100644
--- a/test/files/run/macro-typecheck-macrosdisabled2.check
+++ b/test/files/run/macro-typecheck-macrosdisabled2.check
@@ -8,11 +8,6 @@
()
};
def apply[U >: Nothing <: scala.reflect.base.Universe with Singleton]($m$untyped: scala.reflect.base.MirrorOf[U]): U#Tree = {
- val $u: scala.reflect.api.Universe = $m$untyped.universe.asInstanceOf[scala.reflect.api.Universe];
- val $m: $u.Mirror = $m$untyped.asInstanceOf[$u.Mirror];
- $treecreator1.this.applyImpl[$u.type]($m).asInstanceOf[U#Tree]
- };
- private def applyImpl[U >: Nothing <: scala.reflect.api.Universe with Singleton]($m$untyped: scala.reflect.base.MirrorOf[U]): scala.reflect.base.Universe#Tree = {
val $u: U = $m$untyped.universe;
val $m: $u.Mirror = $m$untyped.asInstanceOf[$u.Mirror];
$u.Apply.apply($u.Select.apply($u.Select.apply($u.build.Ident($m.staticPackage("scala")), $u.newTermName("Array")), $u.newTermName("apply")), scala.collection.immutable.List.apply[$u.Literal]($u.Literal.apply($u.Constant.apply(2))))