summaryrefslogtreecommitdiff
path: root/bytecomp/typeopt.ml
diff options
context:
space:
mode:
Diffstat (limited to 'bytecomp/typeopt.ml')
-rw-r--r--bytecomp/typeopt.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/bytecomp/typeopt.ml b/bytecomp/typeopt.ml
index 8838145468..6e8075a3a0 100644
--- a/bytecomp/typeopt.ml
+++ b/bytecomp/typeopt.ml
@@ -52,7 +52,7 @@ let maybe_pointer exp =
let array_element_kind env ty =
let ty = Ctype.repr (Ctype.expand_head env ty) in
match ty.desc with
- Tvar ->
+ Tvar | Tunivar ->
Pgenarray
| Tconstr(p, args, abbrev) ->
if Path.same p Predef.path_int || Path.same p Predef.path_char then