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
Fixes#11
They are handled in the same way `ppx_deriving_yojson` handles such
values ie always interpreted as `Intlit`. This is particularly useful
when writing test code for parsers.
is rewritten as
which is fine but in some case we would like to be able to have it rewritten to:
because when using ppx_deriving_yojson for instance, some small int values will still be converted to
Intlit
, as would[%to_yojson: int64] 1L
.A good first step is probably to accept such litterals and the payload and rewrite them as
Intlit
, ie:gets rewritten as the above example.
The text was updated successfully, but these errors were encountered: