Omitting type parameters on dispatch: accepted or implementation detail?

It’s fine in dispatch (i.e. method arguments), but don’t (by accident) use those incompletely typed structs (or aliases for them) in type definitions, as noted in this discourse post. You’ll induce type instability in the calling code when accessing those fields.

2 Likes