summaryrefslogtreecommitdiff
path: root/src/jib/jib_compile.ml
diff options
context:
space:
mode:
authorAlasdair Armstrong2019-03-21 19:09:42 +0000
committerAlasdair Armstrong2019-03-21 19:18:49 +0000
commit2b0a4e2746e632d3f823baade49b560f79317497 (patch)
tree6d6f2bc4e008782673a5d915a5805a54c2cbf2a1 /src/jib/jib_compile.ml
parentb28dc3f4f74d02f5f0244ee3cee019bc1e4c7583 (diff)
Fix: Use doc_binding for printing scattered mapping types
Issue with pretty-printing mapping clauses types fixed by both cf7eb8b83 and 0e2f1710a, so remove the redundant clauses. In the parser we allow both ``` | Mapping id { mk_sd (SD_mapping ($2, mk_tannotn)) $startpos $endpos } | Mapping id Colon funcl_typ { mk_sd (SD_mapping ($2, $4)) $startpos $endpos } ``` so we should probably use doc_binding to correctly print any quantifier on the funcl_typ. Although since polymorphism and mappings don't play nicely together right now this likely doesn't occur very often in practice.
Diffstat (limited to 'src/jib/jib_compile.ml')
0 files changed, 0 insertions, 0 deletions