Skip to content

Commit 6f370fd

Browse files
committed
Add test
1 parent e6c0b58 commit 6f370fd

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
sealed trait Unset
2+
3+
def foo(v: Unset|Option[Int]): Unit = v match
4+
case v: Unset => ()
5+
case v: Option[Int] => ()

0 commit comments

Comments
 (0)