summaryrefslogtreecommitdiff
path: root/test/files/neg/bug414.check
blob: c0f039ad26d2a702942f578a10a1357d2fd46687 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
bug414.scala:1: warning: case classes without a parameter list have been deprecated;
use either case objects or case classes with `()' as parameter list.
case class Empty[a] extends IntMap[a];
                    ^
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 _ =>
                       ^
one warning found
two errors found