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
scala> case class User(id: Int, name: String)
defined class User
scala> val bob: User = User(1, "Bob")
bob: User = User(1,Bob)
scala> pprint.pprintln(bob)
User(1, "Bob")
scala> pprint.pprintln(bob, showFieldNames = true)
User(1, "Bob")
scala> pprint.pprintln(bob, showFieldNames = false)
User(1, "Bob")
With the feature enabled, I expected something like User(id = 1, name = "Bob")
The text was updated successfully, but these errors were encountered:
With the feature enabled, I expected something like
User(id = 1, name = "Bob")
The text was updated successfully, but these errors were encountered: