about summary refs log tree commit diff
path: root/src/error/Error.ml
diff options
context:
space:
mode:
authorMalte Voos <git@mal.tc>2024-07-08 22:10:12 +0200
committerMalte Voos <git@mal.tc>2024-07-08 22:10:12 +0200
commit66cf5d3c5fff84a1cac333c1aa81a8e1f21ee6f4 (patch)
treebfbd237f12a3b973d0b93556e6235ced045db701 /src/error/Error.ml
parent97f84ccace4e634b4e02178a702818e69292dc9f (diff)
downloadtoytt-66cf5d3c5fff84a1cac333c1aa81a8e1f21ee6f4.tar.gz
toytt-66cf5d3c5fff84a1cac333c1aa81a8e1f21ee6f4.zip
rename Ident -> Name
Diffstat (limited to 'src/error/Error.ml')
-rw-r--r--src/error/Error.ml4
1 files changed, 2 insertions, 2 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