Commit Graph

5 Commits (8e928caea7c47e6ba8508cf2caaaa1ba9f8dca85)

Author SHA1 Message Date
Thomas Refis 8e928caea7
a better representation for modules with no name (#8908) 2019-10-09 14:15:37 +01:00
Gabriel Scherer 0f9ad95c46 [minor] clarify the implementation of Typedtree.pat_bound_idents_full
The previous implementation used global state and was making another
change more difficult than it had to be.

Note: I got rid of `rev_let_bound_idents` in the API because computing
it is no more efficient than `Fun.compose List.rev let_bound_idents`.

(Only the _full versions might have a more-efficient rev_ version,
and those are not exposed, which is the right choice:
                           a simpler API is worth a list reversal.)
2019-09-25 11:47:24 +02:00
Thomas Refis f56b59d017
Fix "open struct .. end" on clambda backend (#8944) 2019-09-17 06:50:11 -04:00
Leo White 11edca8798 Fix #8769 (#8770)
* Don't generate illegal Pfield's when compiling alias coercions

* Simplify lambda code when compiling packs

* Add regression test for pr8769

* Add Changes entry
2019-06-28 16:17:00 +01:00
Mark Shinwell 72ea849d2a
Move some middle-end files around (#2281)
* Various file moves in the middle end: this is the first stage of improving separation between the middle end and backend.
* Creation of file_formats/ directory (with associated file moves) to hold the definitions of compilation artifact formats.
* Creation of lambda/ directory (with associated file moves) to hold Lambda language definition files, transformation passes and construction passes from Typedtree.
* Disable (hopefully temporarily) dynlink, debugger and ocamldoc for the dune build.
2019-04-01 17:18:47 +01:00