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
It's falling foul of the logic which attempts to handle by-name constructor arguments. Ideally we'd like to be able to support,
classFoo(i0: =>Int) {
lazyvali:Int= i0
}
In this case we want the lazy val i in the body to be treated as the product element. There's a relevant test here. A fix would be lovely, so long as it doesn't break that one.
I'm getting the following when deriving (or trying to)
Generic
instances for non-case classes:fails with
So adding a
val
field in the body of a non-case class thatGeneric
accepts, makesGeneric
reject it.Is that intended somehow?
Just checking if that's expected or not, I can submit a fix for that.
The text was updated successfully, but these errors were encountered: