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