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
Placing an empty pair of brackets after foo in the input file appears to resolve the problem. I've only just started using piqi, but I would think at least the inconsistent parsing behavior would be an issue worthy of a look.
The text was updated successfully, but these errors were encountered:
This is a bug. Thanks for reporting it. This input is invalid without extra brackets after .foo. piqi convert should have failed as well. Give me a day or two and I'll get it fixed. Once fixed the obscure uncaught exception should go away.
No problem. I'm not blocked by this so no rush. In fact I think what I really wanted for the foo variant option was just a .option [ .name foo ], since there's no data associated with it anyway. That removes the need for an empty list and everything seems fine.
alavrik
added a commit
to alavrik/piqi
that referenced
this issue
Jun 1, 2016
Given this schema:
And this input file:
The following command does not report a problem.
But ocaml code generated as follows produces the below exception:
Placing an empty pair of brackets after
foo
in the input file appears to resolve the problem. I've only just started using piqi, but I would think at least the inconsistent parsing behavior would be an issue worthy of a look.The text was updated successfully, but these errors were encountered: