diff options
| author | Alain Frisch <alain@frisch.fr> | 2017-07-20 08:17:30 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-07-20 08:17:30 +0200 |
| commit | fd47ba9649f784c7d0772bdf282b8e7c8f1fe5aa (patch) | |
| tree | ca04dce4e190f80e7dc5d2610404c238a6372358 /tools/ocamlprof.ml | |
| parent | 23ba4788f0a30e4c64565e9a08bc6557b58b95bf (diff) | |
| download | ocaml-fd47ba9649f784c7d0772bdf282b8e7c8f1fe5aa.tar.gz | |
Support 'let open' in class and class type expressions (#1249)
* Support 'let open' in class and class type expressions.
* Adapt ocamlprof.
* Adapt ocamldoc.
* Add tests.
* Changelog.
* Manual.
Diffstat (limited to 'tools/ocamlprof.ml')
| -rw-r--r-- | tools/ocamlprof.ml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/ocamlprof.ml b/tools/ocamlprof.ml index fb08ffd5ea..2e72d52cf0 100644 --- a/tools/ocamlprof.ml +++ b/tools/ocamlprof.ml @@ -367,6 +367,7 @@ and rewrite_class_expr iflag cexpr = | Pcl_let (_, spat_sexp_list, cexpr) -> rewrite_patexp_list iflag spat_sexp_list; rewrite_class_expr iflag cexpr + | Pcl_open (_, _, cexpr) | Pcl_constraint (cexpr, _) -> rewrite_class_expr iflag cexpr | Pcl_extension _ -> () |
