summaryrefslogtreecommitdiff
path: root/src/compiler/scala/reflect/reify/codegen/GenTrees.scala
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2013-01-25 13:39:20 -0800
committerPaul Phillips <paulp@improving.org>2013-01-25 13:39:50 -0800
commit950e938bb08afc08ba6b91af5468d0f703924356 (patch)
tree37ec7fc360018b67a2b2b0e235bd322a873e74e1 /src/compiler/scala/reflect/reify/codegen/GenTrees.scala
parentff2ca683cb75b18e8001680aa3ec752929179925 (diff)
downloadscala-950e938bb08afc08ba6b91af5468d0f703924356.tar.gz
scala-950e938bb08afc08ba6b91af5468d0f703924356.tar.bz2
scala-950e938bb08afc08ba6b91af5468d0f703924356.zip
Revert "SI-5824 Fix crashes in reify with _*"
This reverts commit 0a25ee3431d0314c782dd2e6620bc75c4de0d1a4. It came with a test failure which I overlooked.
Diffstat (limited to 'src/compiler/scala/reflect/reify/codegen/GenTrees.scala')
-rw-r--r--src/compiler/scala/reflect/reify/codegen/GenTrees.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/scala/reflect/reify/codegen/GenTrees.scala b/src/compiler/scala/reflect/reify/codegen/GenTrees.scala
index fd3673552b..f60089c935 100644
--- a/src/compiler/scala/reflect/reify/codegen/GenTrees.scala
+++ b/src/compiler/scala/reflect/reify/codegen/GenTrees.scala
@@ -177,7 +177,7 @@ trait GenTrees {
// then we can reify the scrutinee as a symless AST and that will definitely be hygienic
// why? because then typechecking of a scrutinee doesn't depend on the environment external to the quasiquote
// otherwise we need to reify the corresponding type
- if (tree.symbol.isLocalToReifee || tree.tpe.isLocalToReifee || treeInfo.isWildcardStarType(tree))
+ if (sym.isLocalToReifee || tpe.isLocalToReifee)
reifyProduct(tree)
else {
if (reifyDebug) println("reifying bound type %s (underlying type is %s)".format(sym, tpe))