We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I've found an issue when atdgen accepts an inline record definition but generates an invalid code:
File "hello_j.ml", line 221, characters 19-24: 221 | ob x.field; ^^^^^
hello.atd: type arithmetic = [ Composite of {field: int} ] <ocaml repr="classic">
type arithmetic = [ Composite of {field: int} ] <ocaml repr="classic">
Steps to reproduce:
echo 'type arithmetic = [ Composite of {field: int} ] <ocaml repr="classic">' > hello.atd && \ atdgen -t hello.atd && \ atdgen -j hello.atd && \ ocamlfind ocamlc -c hello_t.mli -package atdgen && \ ocamlfind ocamlc -c hello_j.mli -package atdgen && \ ocamlfind ocamlopt -c hello_j.ml -package atdgen
The text was updated successfully, but these errors were encountered:
Fix oj_emit for inline records (#417)
oj_emit
720638c
Add more tests for inline-records (#417)
429dc0b
No branches or pull requests
I've found an issue when atdgen accepts an inline record definition but generates an invalid code:
hello.atd:
type arithmetic = [ Composite of {field: int} ] <ocaml repr="classic">
Steps to reproduce:
The text was updated successfully, but these errors were encountered: