diff options
author | Den Shabalin <den.shabalin@gmail.com> | 2013-09-05 13:40:09 +0200 |
---|---|---|
committer | Den Shabalin <den.shabalin@gmail.com> | 2013-09-05 20:42:10 +0200 |
commit | 4ad10642e9dacfb50c6c0ac0faaf7e5839bdffb5 (patch) | |
tree | ee0f9ff215532d25a2932c1f2123991d24df4fbb /src/compiler | |
parent | a455858fc19e47dca10f446df0f61297d0d60276 (diff) | |
download | scala-4ad10642e9dacfb50c6c0ac0faaf7e5839bdffb5.tar.gz scala-4ad10642e9dacfb50c6c0ac0faaf7e5839bdffb5.tar.bz2 scala-4ad10642e9dacfb50c6c0ac0faaf7e5839bdffb5.zip |
rename TupleN and TupleTypeN into SyntacticTuple and SyntacticTupleType
Diffstat (limited to 'src/compiler')
-rw-r--r-- | src/compiler/scala/tools/reflect/quasiquotes/Reifiers.scala | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/compiler/scala/tools/reflect/quasiquotes/Reifiers.scala b/src/compiler/scala/tools/reflect/quasiquotes/Reifiers.scala index cb84b5d8c7..2e134ddd34 100644 --- a/src/compiler/scala/tools/reflect/quasiquotes/Reifiers.scala +++ b/src/compiler/scala/tools/reflect/quasiquotes/Reifiers.scala @@ -100,20 +100,20 @@ trait Reifiers { self: Quasiquotes => def reifyTuple(args: List[Tree]) = args match { case Nil => reify(Literal(Constant(()))) case List(hole @ Placeholder(_, _, NoDot)) => reify(hole) - case List(Placeholder(_, _, _)) => reifyBuildCall(nme.TupleN, args) + case List(Placeholder(_, _, _)) => reifyBuildCall(nme.SyntacticTuple, args) // in a case we only have one element tuple without // any cardinality annotations this means that this is // just an expression wrapped in parentheses case List(other) => reify(other) - case _ => reifyBuildCall(nme.TupleN, args) + case _ => reifyBuildCall(nme.SyntacticTuple, args) } def reifyTupleType(args: List[Tree]) = args match { case Nil => reify(Select(Ident(nme.scala_), tpnme.Unit)) case List(hole @ Placeholder(_, _, NoDot)) => reify(hole) - case List(Placeholder(_, _, _)) => reifyBuildCall(nme.TupleTypeN, args) + case List(Placeholder(_, _, _)) => reifyBuildCall(nme.SyntacticTupleType, args) case List(other) => reify(other) - case _ => reifyBuildCall(nme.TupleTypeN, args) + case _ => reifyBuildCall(nme.SyntacticTupleType, args) } def reifyFunctionType(argtpes: List[Tree], restpe: Tree) = |