aboutsummaryrefslogtreecommitdiff
path: root/Sil/Error.icl
diff options
context:
space:
mode:
authorCamil Staps2017-07-28 11:54:40 +0200
committerCamil Staps2017-07-28 11:55:23 +0200
commit1703085b25fa82459e306737ae88ee6fb0ece910 (patch)
tree8b86ce7d6e2892b7dc328153373b59a36c129ba5 /Sil/Error.icl
parentOptimise: remove unreachacble ABC-code (diff)
Resolve #1: implement lists (tuples have been done earlier)
Diffstat (limited to 'Sil/Error.icl')
-rw-r--r--Sil/Error.icl2
1 files changed, 1 insertions, 1 deletions
diff --git a/Sil/Error.icl b/Sil/Error.icl
index 6a9d07e..9c48ecc 100644
--- a/Sil/Error.icl
+++ b/Sil/Error.icl
@@ -21,7 +21,7 @@ where
toString C_FunctionOnStack = "Function stored on the stack."
toString (C_TypeError err e) = "Type error in '" <+ e <+ "': " <+ err
toString (C_CouldNotDeduceType e) = "Could not deduce type of '" <+ e <+ "'."
- toString (C_TypeMisMatch t e) = "Type mismatch: expected " <+ t <+ " for '" <+ e <+ "'."
+ toString (C_TypeMisMatch t e t`) = "Type mismatch: expected " <+ t <+ " for '" <+ e <+ "'; had " <+ t` <+ "."
toString (C_BasicInitWithoutValue n) = "Basic value '" <+ n <+ "' must have an initial value."
toString (UnknownError e) = "Unknown error: " <+ e <+ "."