Skip to content

Commit

Permalink
Fix build issue with Coq v8.9
Browse files Browse the repository at this point in the history
Fixes uwplse#4
  • Loading branch information
tchajed committed Oct 16, 2018
1 parent 41ff988 commit 7e24f0a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugin/src/ast_plugin.ml4
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ let build_universe_instance (i : Instance.t) =
* Build the AST for a sort
*)
let build_sort (s : Sorts.t) =
let s_ast =
let s_ast = let open Sorts in
match s with
| Prop _ -> if s = Sorts.prop then "Prop" else "Set"
| Type u -> build "Type" [build_universe u]
Expand Down Expand Up @@ -436,7 +436,7 @@ let build_cofix (funs : string list) (index : int) =
(*
* Get the body of a mutually inductive type
*)
let lookup_mutind_body (i : mutual_inductive) (env : env) =
let lookup_mutind_body (i : MutInd.t) (env : env) =
lookup_mind i env

(*
Expand Down

0 comments on commit 7e24f0a

Please sign in to comment.