summaryrefslogtreecommitdiff
path: root/test/files/run/patmatnew.check
blob: 56b8ac2f4f0e3131b1799ee7999f99cdb03a8b4b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
patmatnew.scala:351: warning: a pure expression does nothing in statement position; you may be omitting necessary parentheses
        case 1 => "OK"
                  ^
patmatnew.scala:352: warning: a pure expression does nothing in statement position; you may be omitting necessary parentheses
        case 2 => assert(false); "KO"
                                 ^
patmatnew.scala:353: warning: a pure expression does nothing in statement position; you may be omitting necessary parentheses
        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 =>
                        ^