Skip to content

Commit 5623588

Browse files
Merge pull request #14447 from dotty-staging/regression-test-feature-#112
Add regression test
2 parents 9fc6a14 + 5495b66 commit 5623588

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

tests/pos/f112.scala

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
type X
2+
val x: X = ???
3+
extension (x: X) def unapply(arg: Any): Boolean = true
4+
def test =
5+
??? match
6+
case x() =>

0 commit comments

Comments
 (0)