blob: 117bc28c2d19d08a2b7e959ec2fe7304ad2d3551 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
patmatnew.scala:351: warning: a pure expression does nothing in statement position
case 1 => "OK"
^
patmatnew.scala:352: warning: a pure expression does nothing in statement position
case 2 => assert(false); "KO"
^
patmatnew.scala:352: warning: multiline expressions might require enclosing parentheses; a value can be silently discarded when Unit is expected
case 2 => assert(false); "KO"
^
patmatnew.scala:353: warning: a pure expression does nothing in statement position
case 3 => assert(false); "KO"
^
patmatnew.scala:353: warning: multiline expressions might require enclosing parentheses; a value can be silently discarded when Unit is expected
case 3 => assert(false); "KO"
^
patmatnew.scala:670: warning: This catches all Throwables. If this is really intended, use `case e : Throwable` to clear this warning.
case e => {
^
patmatnew.scala:489: warning: unreachable code
case _ if false =>
^
|