aboutsummaryrefslogtreecommitdiffhomepage
path: root/printing/ppconstr.ml
diff options
context:
space:
mode:
Diffstat (limited to 'printing/ppconstr.ml')
-rw-r--r--printing/ppconstr.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/printing/ppconstr.ml b/printing/ppconstr.ml
index ebda3cb76..6d34b10bc 100644
--- a/printing/ppconstr.ml
+++ b/printing/ppconstr.ml
@@ -138,7 +138,7 @@ let pr_opt_type_spc pr = function
let pr_lident (loc,id) =
if loc <> Loc.ghost then
let (b,_) = Loc.unloc loc in
- pr_located pr_id (Loc.make_loc (b,b+String.length(string_of_id id)),id)
+ pr_located pr_id (Loc.make_loc (b,b+String.length(Id.to_string id)),id)
else pr_id id
let pr_lname = function