summaryrefslogtreecommitdiffstats
path: root/bytecomp/printlambda.ml
diff options
context:
space:
mode:
authorAlain Frisch <alain@frisch.fr>2014-03-31 12:20:22 +0000
committerAlain Frisch <alain@frisch.fr>2014-03-31 12:20:22 +0000
commit4607a0f8e1dd2615aeff11cad67d5d0b14cace2f (patch)
tree3e5b21540819a492ef9d30d5a9ab66806b43c014 /bytecomp/printlambda.ml
parentc36fb6d83e80ec95ca39d5446b0a0f9ce484f538 (diff)
Encode record arguments into extra record declarations.
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/constructors_with_record2@14508 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'bytecomp/printlambda.ml')
-rw-r--r--bytecomp/printlambda.ml3
1 files changed, 2 insertions, 1 deletions
diff --git a/bytecomp/printlambda.ml b/bytecomp/printlambda.ml
index e02196f9b..d3d5a0916 100644
--- a/bytecomp/printlambda.ml
+++ b/bytecomp/printlambda.ml
@@ -83,7 +83,8 @@ let print_bigarray name unsafe kind ppf layout =
let record_rep ppf r =
match r with
- | Record_regular -> fprintf ppf "regular"
+ | Record_regular 0 -> fprintf ppf "regular"
+ | Record_regular i -> fprintf ppf "regular (tag %i)" i
| Record_float -> fprintf ppf "float"
;;