From b7395e9f503b25c1dec1abf041cd7869126ebf64 Mon Sep 17 00:00:00 2001 From: Paul Phillips Date: Wed, 16 Nov 2011 00:34:37 +0000 Subject: Reverted ProductN parent for case classes. Looks like we will need blood, toil, tears, and sweat. No review. --- src/compiler/scala/tools/nsc/ast/parser/Parsers.scala | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to 'src/compiler') diff --git a/src/compiler/scala/tools/nsc/ast/parser/Parsers.scala b/src/compiler/scala/tools/nsc/ast/parser/Parsers.scala index b0991a9c83..cfe8716d9f 100644 --- a/src/compiler/scala/tools/nsc/ast/parser/Parsers.scala +++ b/src/compiler/scala/tools/nsc/ast/parser/Parsers.scala @@ -2687,13 +2687,14 @@ self => if (mods.isCase) { val arity = if (vparamss.isEmpty || vparamss.head.isEmpty) 0 else vparamss.head.size productConstr :: serializableConstr :: { - if (arity == 0 || settings.YnoProductN.value) Nil - else List( - AppliedTypeTree( - productConstrN(arity), - vparamss.head map (vd => vd.tpt.duplicate setPos vd.tpt.pos.focus) - ) - ) + Nil + // if (arity == 0 || settings.YnoProductN.value) Nil + // else List( + // AppliedTypeTree( + // productConstrN(arity), + // vparamss.head map (vd => vd.tpt.duplicate setPos vd.tpt.pos.focus) + // ) + // ) } } else Nil -- cgit v1.2.3