aboutsummaryrefslogtreecommitdiffstats
path: root/typing.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2009-06-18 20:45:40 +0000
committerDavid Robillard <d@drobilla.net>2009-06-18 20:45:40 +0000
commit936f996c4091266e9404f346e2939e613121f74c (patch)
tree737f02b112cd6d98a0abdc11b2a84591b1493b8e /typing.cpp
parentd8c876402bb348abc7d1fb539f245e7ba8c4ce27 (diff)
downloadresp-936f996c4091266e9404f346e2939e613121f74c.tar.gz
resp-936f996c4091266e9404f346e2939e613121f74c.tar.bz2
resp-936f996c4091266e9404f346e2939e613121f74c.zip
Make source location mandatory parameter for Error.
git-svn-id: http://svn.drobilla.net/resp/tuplr@121 ad02d1e2-f140-0410-9f75-f8b11f17cedd
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);