We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7d28575 commit 046152eCopy full SHA for 046152e
tests/pos/quotedPatterns.scala
@@ -12,10 +12,6 @@ object Test {
12
case '{ ((a: Int) => 3)($y) } => y
13
case '{ 1 + ($y: Int)} => y
14
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.
19
case '{ val $y: Int = $z; println(`$y`); 1 } =>
20
val a: quoted.matching.Bind[Int] = y
21
z
0 commit comments