summaryrefslogtreecommitdiff
path: root/test/files/neg/bug414.check
blob: 91bb39caf25dc889a371e6940c57bd70cb19d811 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
bug414.scala:5: error: pattern type is incompatible with expected type;
 found   : object Empty
 required: IntMap[a]
Note: if you intended to match against the class, try `case _: Empty[_]` or `case Empty()`
                case Empty =>
                     ^
bug414.scala:7: error: type mismatch;
 found   : Unit
 required: a
                case _ =>
                       ^
two errors found