diff options
-rw-r--r-- | src/compiler/scala/tools/nsc/matching/ParallelMatching.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/scala/tools/nsc/matching/ParallelMatching.scala b/src/compiler/scala/tools/nsc/matching/ParallelMatching.scala index f89ee9ffb5..ca3eef96a0 100644 --- a/src/compiler/scala/tools/nsc/matching/ParallelMatching.scala +++ b/src/compiler/scala/tools/nsc/matching/ParallelMatching.scala @@ -1078,7 +1078,7 @@ trait ParallelMatching { pats = (makeBind(vs, npat) setType argtpe)::pats } - case o @ Apply(fn, List()) if !isCaseClass(o.tpe) => + case o @ Apply(fn, List()) if !isCaseClass(o.tpe) || /*see t301*/ !Apply_Value.unapply(o).isEmpty => val stpe: Type = fn match { case _ if (o.symbol.isModule) => singleType(o.tpe.prefix, o.symbol) |