about summary refs log tree commit diff
path: root/src/error
diff options
context:
space:
mode:
Diffstat (limited to 'src/error')
-rw-r--r--src/error/Error.ml4
-rw-r--r--src/error/dune2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/error/Error.ml b/src/error/Error.ml
index 9a5ea9e..7a6a681 100644
--- a/src/error/Error.ml
+++ b/src/error/Error.ml
@@ -42,8 +42,8 @@ let illegal_character ~loc char = fatalf ~loc IllegalCharacter
     "illegal character '%s'" (Char.escaped char)
 let syntax_error ~loc = fatalf ~loc SyntaxError
     "syntax error"
-let unbound_variable id = fatalf UnboundVariable
-    "unbound variable '%a'" Ident.pp id
+let unbound_variable name = fatalf UnboundVariable
+    "unbound variable '%a'" Name.pp name
 let type_mismatch ?loc fmt_expected expected fmt_found found = fatalf ?loc TypeMismatch
     "@[<v>type mismatch:@,expected: @[%a@]@,   found: @[%a@]@]"
     fmt_expected expected fmt_found found
diff --git a/src/error/dune b/src/error/dune
index 857f7bc..916be3c 100644
--- a/src/error/dune
+++ b/src/error/dune
@@ -1,4 +1,4 @@
 (library
  (name Error)
  (public_name toytt.error)
- (libraries asai toytt.ident))
+ (libraries asai toytt.name))