bs.obj reason -> ml conversion doesn't mangle names correctly
Open
Nobody has claimed this yet.
KIND: BUG
Parser
- Dominant language
- OCaml
- Stars
- 10.3k
- Forks
- 438
- PR merge metrics
- No merged PRs in 30d
Description
cc @bsansouci lol
refmt --parse re --print ml test.re on the file {"method": 1} gives [%bs.obj {method: 1}] ocaml output. It should be [%bs.obj {_method: 1}]
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the issue with refmt --parse re --print ml test.re using the reported {"method": 1} input, then trace the refmt Reason-to-ML conversion. Done means the output uses [%bs.obj {_method: 1}] rather than [%bs.obj {method: 1}].
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ocaml
- Domain
- compilers
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100