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
This is because the original ripple.proto defines a field named type which is a keyword in OCaml.
There is a standard solution for that. All you have to do is define explicit OCaml names for these fields that override the default names from the original spec. If you created ripple.ocaml.piqi with the following contents and put it next to ripple.proto.piqi everything should work.
By the way, you may want to pull the latest changes from master. One of the changes (pretty-printing generated code) should make it easy to see why the code is failing to compile.
When tring to generate ocaml code for this1 proto file (via piqi), the output ml files does not compile:
The text was updated successfully, but these errors were encountered: