Skip to content

Case class extends Serializable should compile #5776

Closed
@liufengyun

Description

@liufengyun

The following code fails to compile:

case class Foo(x: Int) extends Serializable

Error message:

trait Serializable is extended twice

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions