Open agroce opened 4 years ago
Looks like this is also due to type_size limit being 255; maybe should fail if parameter is too big?
Ditto in #92. But I see your point, by silently reducing typesize
to 1 we are creating inconsistencies in the API. Hmm, probably failing would be better than just documenting this; I need to think a bit more on this. Anyway, thanks for bringing this to our attention.
Whether I assert that it is the #bytes of the #items, some tests seem to violate the claim. Is this known/expected?
If I allow either:
it never fails, but that's not a consistent API. I can minimize a failing example, if you can clarify which is the expected return value.