You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A private constructor of case class is only accessible in the class/companion object definition. Trying to access from anywhere else results a compilation error.
A private constructor of case class is only accessible in the class/companion object definition. Trying to access from anywhere else results a compilation error.
Except if the case class is defined in a method body.
I would expect the same behavior in both cases.
The text was updated successfully, but these errors were encountered: