issues
search
melange-community
/
melange-webapi
Melange bindings to the DOM and other Web APIs
MIT License
15
stars
6
forks
source link
fix: next version of ppxlib
#10
Closed
anmonteiro
closed
9 months ago
anmonteiro
commented
9 months ago
The next version of ppxlib enforces generative functor application, and produces errors in the cases changed in this PR
unfortunately Reason formats
Foo({})
to
Foo()
, i.e. there seems to be no distinction between OCaml's
Foo(struct end)
and
Foo()
this will probably have to be fixed upstream
for now we use
{ (); }
to force a single structure item
Foo({})
toFoo()
, i.e. there seems to be no distinction between OCaml'sFoo(struct end)
andFoo()
{ (); }
to force a single structure item