aboutsummaryrefslogtreecommitdiff
path: root/lib/errors/importErrors.ml
diff options
context:
space:
mode:
Diffstat (limited to 'lib/errors/importErrors.ml')
-rw-r--r--lib/errors/importErrors.ml4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/errors/importErrors.ml b/lib/errors/importErrors.ml
index 97a6259..f888725 100644
--- a/lib/errors/importErrors.ml
+++ b/lib/errors/importErrors.ml
@@ -43,8 +43,8 @@ let repr_error = function
| TypeError { expected; actual; expression; subset } ->
Printf.sprintf
"In this expression %s has type %s but %s was expected:\n%s" subset
- (ImportDataTypes.Types.string_of_t actual)
- (ImportDataTypes.Types.string_of_t expected)
+ (ImportDataTypes.Types.show actual)
+ (ImportDataTypes.Types.show expected)
expression
| Unknown_extension ext -> Printf.sprintf "Unknown file extension %s" ext
| UnknowFunction name ->