Skip to content

Case class extends Serializable should compile #5776

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
liufengyun opened this issue Jan 22, 2019 · 0 comments
Closed

Case class extends Serializable should compile #5776

liufengyun opened this issue Jan 22, 2019 · 0 comments
Assignees
Labels
area:desugar Desugaring happens after parsing but before typing, see desugar.scala exp:intermediate itype:bug

Comments

@liufengyun
Copy link
Contributor

The following code fails to compile:

case class Foo(x: Int) extends Serializable

Error message:

trait Serializable is extended twice
@liufengyun liufengyun added itype:bug exp:intermediate prio:medium area:desugar Desugaring happens after parsing but before typing, see desugar.scala labels Jan 22, 2019
liufengyun added a commit to dotty-staging/scalatest that referenced this issue Jan 23, 2019
liufengyun added a commit to dotty-staging/squants that referenced this issue Jan 23, 2019
@smarter smarter self-assigned this Jan 25, 2019
smarter added a commit to smarter/dotty that referenced this issue Jan 25, 2019
smarter added a commit to smarter/dotty that referenced this issue Jan 25, 2019
smarter added a commit to smarter/dotty that referenced this issue Jan 25, 2019
smarter added a commit to smarter/dotty that referenced this issue Jan 25, 2019
smarter added a commit to smarter/dotty that referenced this issue Jan 26, 2019
smarter added a commit to smarter/dotty that referenced this issue Jan 26, 2019
smarter added a commit to smarter/dotty that referenced this issue Feb 2, 2019
@smarter smarter closed this as completed in 49156c4 Feb 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:desugar Desugaring happens after parsing but before typing, see desugar.scala exp:intermediate itype:bug
Projects
None yet
Development

No branches or pull requests

3 participants