aboutsummaryrefslogtreecommitdiffhomepage
path: root/checker/typeops.ml
diff options
context:
space:
mode:
Diffstat (limited to 'checker/typeops.ml')
-rw-r--r--checker/typeops.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/checker/typeops.ml b/checker/typeops.ml
index ad05f96b7..129c242b9 100644
--- a/checker/typeops.ml
+++ b/checker/typeops.ml
@@ -395,7 +395,7 @@ let check_named_ctxt env ctxt =
let _ =
try
let _ = lookup_named id env in
- failwith ("variable "^string_of_id id^" defined twice")
+ failwith ("variable "^Id.to_string id^" defined twice")
with Not_found -> () in
match d with
(_,None,ty) ->