diff options
author | Paul Phillips <paulp@improving.org> | 2009-02-16 16:29:05 +0000 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2009-02-16 16:29:05 +0000 |
commit | 311a391dd1e5fca552d743e58a31a0eacda96011 (patch) | |
tree | 9609d53a3409c57d929a07a86a4749f1afac0085 /src/compiler | |
parent | c193d5918c84d7fc85371be67e37ef0addc65077 (diff) | |
download | scala-311a391dd1e5fca552d743e58a31a0eacda96011.tar.gz scala-311a391dd1e5fca552d743e58a31a0eacda96011.tar.bz2 scala-311a391dd1e5fca552d743e58a31a0eacda96011.zip |
Fix for #1638.
Diffstat (limited to 'src/compiler')
-rw-r--r-- | src/compiler/scala/tools/nsc/matching/ParallelMatching.scala | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/compiler/scala/tools/nsc/matching/ParallelMatching.scala b/src/compiler/scala/tools/nsc/matching/ParallelMatching.scala index 0fabca1c15..18aaa6d39f 100644 --- a/src/compiler/scala/tools/nsc/matching/ParallelMatching.scala +++ b/src/compiler/scala/tools/nsc/matching/ParallelMatching.scala @@ -816,6 +816,7 @@ trait ParallelMatching { case _: Literal | _: Typed => opat case o: Ident => mkTypedBind(vs, equalsCheck(o)) // Ident(_) != nme.WILDCARD case o: Select => mkTypedBind(vs, equalsCheck(o)) + case o: This => opat // @pre for UnApply_TypeApply: is not right-ignoring (no star pattern) ; no exhaustivity check case UnApply_TypeApply(tptArg, xs) => temp(j) setFlag Flags.TRANS_FLAG makeBind(vs, normalizedListPattern(xs, tptArg.tpe)) |