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
super constructor cannot be passed a self reference unless parameter is declared by-name
[error] object RandomPayload extends WithCirce[RandomPayload]
[error] ^
This didn't happen in older versions of circe-derivation and indicates that the code for default value management is splicing additional references to the companion object – which I'm not sure are necessary for the use case, although I may be wrong.
Derivation in this code:
Will produce the following error:
Where
WithCirce
is defined as:If the default parameter is removed, the error disappears:
This didn't happen in older versions of circe-derivation and indicates that the code for default value management is splicing additional references to the companion object – which I'm not sure are necessary for the use case, although I may be wrong.
/cc @aparo
The text was updated successfully, but these errors were encountered: