Skip to content

Commit 020f5a1

Browse files
Merge pull request #9555 from dotty-staging/fix-#6621
Fix #6621: Add regression test
2 parents b61e960 + 0fc3000 commit 020f5a1

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
object Unapply {
2+
def unapply(a: Any): Option[(Int, Int)] =
3+
Some((1, 2))
4+
}
5+
6+
object Test {
7+
val Unapply(x, y) = ""
8+
}

0 commit comments

Comments
 (0)