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
I have a DSL that causes a nil pointer dereference crash when running goagen. This is not an ideal way of telling me I made a mistake :P. Minimal repro design:
Thanks for the report. It's actually legal to use ArrayOf on a media type - unusual but legal. The difference between CollectionOf and ArrayOf is in what they produce (media type vs. user type) - not in what they accept as parameter.
I have a DSL that causes a nil pointer dereference crash when running goagen. This is not an ideal way of telling me I made a mistake :P. Minimal repro design:
The error in this design is that I should have used CollectionOf, not ArrayOf.
Running
goagen bootstrap
on this design results in a nil pointer dereference crash:The text was updated successfully, but these errors were encountered: