summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/type_check.ml2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/type_check.ml b/src/type_check.ml
index 9de6d7e7..cad7dc47 100644
--- a/src/type_check.ml
+++ b/src/type_check.ml
@@ -1861,10 +1861,12 @@ let is_nat_kid kid = function
let is_order_kid kid = function
| KOpt_aux (KOpt_kind (K_aux (K_kind [BK_aux (BK_order, _)], _), kid'), _) -> Kid.compare kid kid' = 0
+ | KOpt_aux (KOpt_none kid', _) -> Kid.compare kid kid' = 0
| _ -> false
let is_typ_kid kid = function
| KOpt_aux (KOpt_kind (K_aux (K_kind [BK_aux (BK_type, _)], _), kid'), _) -> Kid.compare kid kid' = 0
+ | KOpt_aux (KOpt_none kid', _) -> Kid.compare kid kid' = 0
| _ -> false
let rec instantiate_quants quants kid uvar = match quants with