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 491b6b7 commit 51adba9Copy full SHA for 51adba9
tests/pos/patmat-exhaustive.scala
@@ -1,4 +1,4 @@
1
-//> using options -Xfatal-warnings -deprecation -feature
+//> using options -Werror -deprecation -feature
2
3
def foo: Unit =
4
object O:
@@ -8,5 +8,5 @@ def foo: Unit =
8
9
val x: O.A = ???
10
x match
11
- case x: B => ???
12
- case x: C => ???
+ case _: B => ???
+ case _: C => ???
tests/pos/i15226.scala tests/warn/i15226.scalatests/pos/i15226.scala renamed to tests/warn/i15226.scala
@@ -1,4 +1,3 @@
-//> using options -Werror
class Proj { type State = String }
sealed trait ProjState:
0 commit comments