aboutsummaryrefslogtreecommitdiffstats
path: root/typing.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'typing.cpp')
-rw-r--r--typing.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/typing.cpp b/typing.cpp
index 3f2f8e0..699589b 100644
--- a/typing.cpp
+++ b/typing.cpp
@@ -162,7 +162,7 @@ ADefinition::constrain(TEnv& tenv, Constraints& c) const
void
AIf::constrain(TEnv& tenv, Constraints& c) const
{
- THROW_IF(size() < 4, "`if' requires at least 3 argumentsz", loc);
+ THROW_IF(size() < 4, "`if' requires at least 3 arguments", loc);
THROW_IF(size() % 2 != 0, "`if' missing final else clause", loc)
for (size_t i = 1; i < size(); ++i)
at(i)->constrain(tenv, c);