summaryrefslogtreecommitdiff
path: root/test/files/neg/bug414.check
blob: ec23e26337d35c8391d32f5a08f94364b1eaa8f3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
bug414.scala:5: error: pattern type is incompatible with expected type;
 found   : object Empty
 required: IntMap[a]
                case Empty =>
                     ^
bug414.scala:7: error: type mismatch;
 found   : Unit
 required: a
                case _ =>
                       ^
two errors found