Skip to content

Commit

Permalink
fix how to detect cyclic dependency between type definitions (2)
Browse files Browse the repository at this point in the history
  • Loading branch information
gfngfn committed Jul 14, 2019
1 parent c894314 commit 900962e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/frontend/typeenv.ml
Original file line number Diff line number Diff line change
Expand Up @@ -838,8 +838,8 @@ let rec add_mutual_cons (tyenv : t) (lev : level) (mutvarntcons : untyped_mutual
else
List.iter iter mtyarglist

| MTypeName(_, mdlnmlst, tynm) ->
()
| MTypeName(mtyarglist, mdlnmlst, tynm) ->
List.iter iter mtyarglist
in
let iter = add_each_dependency_as_edge in
match mutvarntcons with
Expand Down

0 comments on commit 900962e

Please sign in to comment.