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
Hi, I believe part of the problem is that the ref error has an incomplete SimpleWrapper instance ( its err field is nil), which will mess up the type mark.
Does the error persist if you add a proper err to your SimpleWrapper reference?
In any case, I agree the ergonomics are not ideal, so perhaps there's something to improve here.
Activity
knz commentedon Jul 5, 2022
Hi, I believe part of the problem is that the
referror has an incomplete SimpleWrapper instance ( itserrfield is nil), which will mess up the type mark.Does the error persist if you add a proper
errto your SimpleWrapper reference?In any case, I agree the ergonomics are not ideal, so perhaps there's something to improve here.
Antonboom commentedon Jul 6, 2022
No, now you won't break it quickly :)
You can close the issue, I don't mind, just expressed doubt.
Maybe add an explicit check for the lengths of ref lists?