Skip to content

Pattern matching code example: Tree must be covariant in its type parameter #31

@phaller

Description

@phaller

Otherwise,

    case object Empty extends Tree[Nothing]

wouldn't work.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions