summaryrefslogtreecommitdiff
path: root/test/files/run/t6187.scala
diff options
context:
space:
mode:
authorEugene Burmako <xeno.by@gmail.com>2014-01-21 04:25:44 -0800
committerEugene Burmako <xeno.by@gmail.com>2014-01-21 04:25:44 -0800
commita242101282ba986c4e336b759aaa08a32ca82a7b (patch)
tree6ac44b5195cda51f3a2e54e89c0aa250714797b1 /test/files/run/t6187.scala
parent26387cacaa8f78105419044fc33acc8fd8343662 (diff)
parent752f1eb63e931e04fd2818f32b6ca7e68e4298d2 (diff)
downloadscala-a242101282ba986c4e336b759aaa08a32ca82a7b.tar.gz
scala-a242101282ba986c4e336b759aaa08a32ca82a7b.tar.bz2
scala-a242101282ba986c4e336b759aaa08a32ca82a7b.zip
Merge pull request #3392 from xeno-by/topic/untypecheck
deprecates resetAllAttrs and resetLocalAttrs in favor of the new API
Diffstat (limited to 'test/files/run/t6187.scala')
-rw-r--r--test/files/run/t6187.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/files/run/t6187.scala b/test/files/run/t6187.scala
index 7d84419b8a..7a39cfd9e7 100644
--- a/test/files/run/t6187.scala
+++ b/test/files/run/t6187.scala
@@ -5,7 +5,7 @@ object Test extends ReplTest {
import scala.language.experimental.macros, scala.reflect.macros.blackbox.Context
def macroImpl[T: c.WeakTypeTag](c: Context)(t: c.Expr[T]): c.Expr[List[T]] = {
val r = c.universe.reify { List(t.splice) }
- c.Expr[List[T]]( c.resetLocalAttrs(r.tree) )
+ c.Expr[List[T]]( c.untypecheck(r.tree) )
}
def demo[T](t: T): List[T] = macro macroImpl[T]
def m[T](t: T): List[List[T]] =