summaryrefslogtreecommitdiffstats
path: root/typing/typedtreeMap.ml
diff options
context:
space:
mode:
authorJacques Garrigue <garrigue at math.nagoya-u.ac.jp>2014-01-10 07:53:33 +0000
committerJacques Garrigue <garrigue at math.nagoya-u.ac.jp>2014-01-10 07:53:33 +0000
commit3b4d7cf63b889b86c33efcbbe79f9937b663b9f6 (patch)
treebefe14b04b00480f16f1b79de58f38eba00936f4 /typing/typedtreeMap.ml
parent4a25508fc253019e936460396328b22554f83050 (diff)
parentd90b126bd428999d767ef4db4c5d3b05eb27c345 (diff)
Merge module-alias branch (cf. PR#6063)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@14394 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'typing/typedtreeMap.ml')
-rw-r--r--typing/typedtreeMap.ml3
1 files changed, 2 insertions, 1 deletions
diff --git a/typing/typedtreeMap.ml b/typing/typedtreeMap.ml
index 669fd2eac..93881a0f1 100644
--- a/typing/typedtreeMap.ml
+++ b/typing/typedtreeMap.ml
@@ -423,7 +423,8 @@ module MakeMap(Map : MapArgument) = struct
let mty = Map.enter_module_type mty in
let mty_desc =
match mty.mty_desc with
- Tmty_ident (path, lid) -> mty.mty_desc
+ Tmty_ident _ -> mty.mty_desc
+ | Tmty_alias _ -> mty.mty_desc
| Tmty_signature sg -> Tmty_signature (map_signature sg)
| Tmty_functor (id, name, mtype1, mtype2) ->
Tmty_functor (id, name, Misc.may_map map_module_type mtype1,