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 a3b235c commit 237aaadCopy full SHA for 237aaad
tests/neg-custom-args/fatal-warnings/i12188/Test.scala
@@ -3,3 +3,7 @@ case class PC1(a: String) extends P
3
case class PC2(b: Int) extends P
4
5
def Test = MatchTest.test(PC2(10): P)
6
+
7
+def foo(x: P): Unit =
8
+ x match // error
9
+ case _: PC1 =>
0 commit comments