Skip to content

Commit 046152e

Browse files
committed
Remove outdated comment
1 parent 7d28575 commit 046152e

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

tests/pos/quotedPatterns.scala

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,6 @@ object Test {
1212
case '{ ((a: Int) => 3)($y) } => y
1313
case '{ 1 + ($y: Int)} => y
1414
case '{ val a = 1 + ($y: Int); 3 } => y
15-
// currently gives an unreachable case warning
16-
// but only when used in conjunction with the others.
17-
// I believe this is because implicit arguments are not taken
18-
// into account when checking whether we have already seen an `unapply` before.
1915
case '{ val $y: Int = $z; println(`$y`); 1 } =>
2016
val a: quoted.matching.Bind[Int] = y
2117
z

0 commit comments

Comments
 (0)