There are case classes in Scala:
case class X(one: One, two: two)
There are case objects which have only one instance (which makes sense):
case object X
When I declare a case class without parameters, IntelliJ does the right thing and deprecation-warns me to make it a case object:
case class X // deprecated stuff
However it does not warn me about
case class X()
Which makes me wonder whether there is a difference between case class X
and case class X()
?