Skip to content

Commit

Permalink
let-rec check: trivial module coercion is not an inspection.
Browse files Browse the repository at this point in the history
  • Loading branch information
yallop committed Sep 25, 2017
1 parent 49f774e commit 0d9877b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions typing/typecore.ml
Expand Up @@ -2123,6 +2123,8 @@ struct
Use.(join
(inspect (modexp env f))
(inspect (modexp env p)))
| Tmod_constraint (m, _, _, Tcoerce_none) ->
modexp env m
| Tmod_constraint (m, _, _, _) ->
Use.inspect (modexp env m)
| Tmod_unpack (e, _) ->
Expand Down

0 comments on commit 0d9877b

Please sign in to comment.