diff options
author | Jason Zaugg <jzaugg@gmail.com> | 2014-02-09 19:06:59 +0100 |
---|---|---|
committer | Jason Zaugg <jzaugg@gmail.com> | 2014-02-09 19:06:59 +0100 |
commit | 9dc60af28e2c17579c17e27168d1e29ef34efaef (patch) | |
tree | 02afe2a92dbff538e42a922837b57860ac527462 /test/files/run | |
parent | 08e51dfec50842253afb87cc5ae3c7400dc18ced (diff) | |
parent | 1adb3379c7ac568317db5739f1d6df628f58b65d (diff) | |
download | scala-9dc60af28e2c17579c17e27168d1e29ef34efaef.tar.gz scala-9dc60af28e2c17579c17e27168d1e29ef34efaef.tar.bz2 scala-9dc60af28e2c17579c17e27168d1e29ef34efaef.zip |
Merge pull request #3485 from xeno-by/topic/reset-all-attrs
kills resetAllAttrs
Diffstat (limited to 'test/files/run')
-rw-r--r-- | test/files/run/macro-reify-splice-outside-reify/Impls_Macros_1.scala | 2 | ||||
-rw-r--r-- | test/files/run/t7240/Macros_1.scala | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/test/files/run/macro-reify-splice-outside-reify/Impls_Macros_1.scala b/test/files/run/macro-reify-splice-outside-reify/Impls_Macros_1.scala index 624479480d..f038d8714f 100644 --- a/test/files/run/macro-reify-splice-outside-reify/Impls_Macros_1.scala +++ b/test/files/run/macro-reify-splice-outside-reify/Impls_Macros_1.scala @@ -3,7 +3,7 @@ import scala.reflect.macros.blackbox.Context object Impls { def foo(c: Context)(x: c.Expr[Int]) = { import c.universe._ - val x1 = c.Expr[Int](c.resetAllAttrs(x.tree)) + val x1 = c.Expr[Int](c.untypecheck(x.tree)) c.Expr[Int](Literal(Constant(c.eval(x1)))) } } diff --git a/test/files/run/t7240/Macros_1.scala b/test/files/run/t7240/Macros_1.scala index 019ddf7cd6..c6e976038d 100644 --- a/test/files/run/t7240/Macros_1.scala +++ b/test/files/run/t7240/Macros_1.scala @@ -41,7 +41,7 @@ object Bakery { def constructor = Apply(Select(New(Ident(newTypeName("eval"))), nme.CONSTRUCTOR), List()) c.eval(c.Expr[Any]( - c.resetAllAttrs(Block(composeDSL(Literal(Constant(1))), constructor)))) + c.untypecheck(Block(composeDSL(Literal(Constant(1))), constructor)))) c.Expr[Any](Literal(Constant(1))) } |