blob: d0d24baa3392bbef3088d1425a637d9d6352605f (
plain) (
tree)
|
|
t414.scala:5: error: pattern type is incompatible with expected type;
found : Empty.type (with underlying type object Empty)
required: IntMap[a]
Note: if you intended to match against the class, try `case _: Empty[_]` or `case Empty()`
case Empty =>
^
t414.scala:7: error: type mismatch;
found : Unit
required: a
case _ =>
^
two errors found
|