Skip to content
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

Forbid case classes without a parameter list #6809

Closed
scabug opened this issue Dec 13, 2012 · 2 comments
Closed

Forbid case classes without a parameter list #6809

scabug opened this issue Dec 13, 2012 · 2 comments
Assignees
Milestone

Comments

@scabug
Copy link

scabug commented Dec 13, 2012

This has been deprecated since at least Scala 2.7.7.
We should get rid of it for 2.11 at last.

scala> case class Foo
<console>:1: warning: case classes without a parameter list have been deprecated;
use either case objects or case classes with `()' as parameter list.
       case class Foo
                     ^
<console>:7: warning: case classes without a parameter list have been deprecated;
use either case objects or case classes with `()' as parameter list.
       case class Foo
                     ^
defined class Foo
@scabug
Copy link
Author

scabug commented Dec 13, 2012

Imported From: https://issues.scala-lang.org/browse/SI-6809?orig=1
Reporter: @soc
Affected Versions: 2.11.0

@scabug
Copy link
Author

scabug commented Dec 13, 2012

@soc said:
scala/scala#1769

@scabug scabug closed this as completed Dec 21, 2012
@scabug scabug added this to the 2.11.0-M1 milestone Apr 7, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants