diff options
author | Jason Zaugg <jzaugg@gmail.com> | 2012-11-03 13:34:20 +0100 |
---|---|---|
committer | Jason Zaugg <jzaugg@gmail.com> | 2012-11-03 13:34:20 +0100 |
commit | 8541ea31091ce6b066825b8bbae76a02a96a884a (patch) | |
tree | 531bc073964bca60e5dcab0ff326f9bfb21ad8f7 | |
parent | dd803205a0796068661b7a180c583fa1424cd3ef (diff) | |
download | scala-8541ea31091ce6b066825b8bbae76a02a96a884a.tar.gz scala-8541ea31091ce6b066825b8bbae76a02a96a884a.tar.bz2 scala-8541ea31091ce6b066825b8bbae76a02a96a884a.zip |
Comment to link code to a relevant JIRA ticket
-rw-r--r-- | src/compiler/scala/tools/nsc/typechecker/Typers.scala | 2 |
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 { |