summaryrefslogtreecommitdiff
path: root/src/compiler/scala/tools/nsc/typechecker/Typers.scala
diff options
context:
space:
mode:
authorJason Zaugg <jzaugg@gmail.com>2012-11-03 13:34:20 +0100
committerJason Zaugg <jzaugg@gmail.com>2012-11-03 13:34:20 +0100
commit8541ea31091ce6b066825b8bbae76a02a96a884a (patch)
tree531bc073964bca60e5dcab0ff326f9bfb21ad8f7 /src/compiler/scala/tools/nsc/typechecker/Typers.scala
parentdd803205a0796068661b7a180c583fa1424cd3ef (diff)
downloadscala-8541ea31091ce6b066825b8bbae76a02a96a884a.tar.gz
scala-8541ea31091ce6b066825b8bbae76a02a96a884a.tar.bz2
scala-8541ea31091ce6b066825b8bbae76a02a96a884a.zip
Comment to link code to a relevant JIRA ticket
Diffstat (limited to 'src/compiler/scala/tools/nsc/typechecker/Typers.scala')
-rw-r--r--src/compiler/scala/tools/nsc/typechecker/Typers.scala2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/compiler/scala/tools/nsc/typechecker/Typers.scala b/src/compiler/scala/tools/nsc/typechecker/Typers.scala
index 19c2c4042a..c798e38e92 100644
--- a/src/compiler/scala/tools/nsc/typechecker/Typers.scala
+++ b/src/compiler/scala/tools/nsc/typechecker/Typers.scala
@@ -582,6 +582,8 @@ trait Typers extends Modes with Adaptations with Tags {
// short cut some aliases. It seems pattern matching needs this
// to notice exhaustiveness and to generate good code when
// List extractors are mixed with :: patterns. See Test5 in lists.scala.
+ //
+ // TODO SI-6609 Eliminate this special case once the old pattern matcher is removed.
def dealias(sym: Symbol) =
(atPos(tree.pos.makeTransparent) {gen.mkAttributedRef(sym)} setPos tree.pos, sym.owner.thisType)
sym.name match {