summaryrefslogtreecommitdiff
path: root/src/ast_util.ml
diff options
context:
space:
mode:
Diffstat (limited to 'src/ast_util.ml')
-rw-r--r--src/ast_util.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ast_util.ml b/src/ast_util.ml
index e69b4399..b9ab21b2 100644
--- a/src/ast_util.ml
+++ b/src/ast_util.ml
@@ -985,7 +985,7 @@ let rec is_number (Typ_aux (t,_)) =
| Typ_app (Id_aux (Id "atom", _),_) -> true
| _ -> false
-let is_reftyp (Typ_aux (typ_aux, _)) = match typ_aux with
+let is_ref_typ (Typ_aux (typ_aux, _)) = match typ_aux with
| Typ_app (id, _) -> string_of_id id = "register" || string_of_id id = "reg"
| _ -> false