The check includes a tally of 5 parameters. The limit (2) would be correct for 4 parameters. This check is catching some use cases, but not all.
I'm guessing this is unpolished and wasn't tuned to completely shut out the invalid use cases in order to accommodate dtype being needed when values are supplied for typedef and dtypedef. Let me know if submissions like this are unhelpful.
https://github.com/plures/xnd/blob/ad42562ee39bf96b7e40a4d11c502f882f22bcc3/python/xnd/__init__.py#L103
The check includes a tally of 5 parameters. The limit (2) would be correct for 4 parameters. This check is catching some use cases, but not all.
I'm guessing this is unpolished and wasn't tuned to completely shut out the invalid use cases in order to accommodate
dtype
being needed when values are supplied fortypedef
anddtypedef
. Let me know if submissions like this are unhelpful.