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 870885f commit a393a08Copy full SHA for a393a08
compiler/test-resources/repl/i4217
@@ -0,0 +1,7 @@
1
+scala> def foo(x: Option[Int]) = x match { case None => }
2
+1 | def foo(x: Option[Int]) = x match { case None => }
3
+ | ^
4
+ | match may not be exhaustive.
5
+ |
6
+ | It would fail on pattern case: Some(_)
7
+def foo(x: Option[Int]): Unit
0 commit comments