Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* start work on inline action * basic inlining works * fix special case with labeled args * cleanup * promote tests * extract the relevant part of parsetree instead of using untypedast * fix bug with shadowing * refactor * address comments * handle optional arguments correctly * fix find_parsetree_loc * use parsetree from before ppx expansion * strip merlin.loc attributes * check for shadowing before inlining * refactor * remove test code * formatting * fix incorrect comment * perform beta reduction after inlining function * continue work on beta reduction * early exit from search for inline source * basic beta reduction now works on pre-ppx parsetree * handle labeled arguments in beta reduce * fix inlining functions with constrained args * add tests for inlining action * start work on top level let support * fix bugs related to optional arguments * beta reduce literal tuple arguments * add more tests * remove test module * update changes * formatting * add mli * use raise_notrace * refactor to use Option.O in whole function * explain error value * extract reusable functions * explain todos * cleanup
- Loading branch information