Skip to content

Commit 0475fbd

Browse files
committed
Merge pull request scala#1563 from retronym/ticket/6609
Comment to link code to a relevant JIRA ticket
2 parents dd80320 + 8541ea3 commit 0475fbd

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/compiler/scala/tools/nsc/typechecker/Typers.scala

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -582,6 +582,8 @@ trait Typers extends Modes with Adaptations with Tags {
582582
// short cut some aliases. It seems pattern matching needs this
583583
// to notice exhaustiveness and to generate good code when
584584
// List extractors are mixed with :: patterns. See Test5 in lists.scala.
585+
//
586+
// TODO SI-6609 Eliminate this special case once the old pattern matcher is removed.
585587
def dealias(sym: Symbol) =
586588
(atPos(tree.pos.makeTransparent) {gen.mkAttributedRef(sym)} setPos tree.pos, sym.owner.thisType)
587589
sym.name match {

0 commit comments

Comments
 (0)