diff options
author | David Robillard <d@drobilla.net> | 2009-06-18 20:45:40 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2009-06-18 20:45:40 +0000 |
commit | 936f996c4091266e9404f346e2939e613121f74c (patch) | |
tree | 737f02b112cd6d98a0abdc11b2a84591b1493b8e /typing.cpp | |
parent | d8c876402bb348abc7d1fb539f245e7ba8c4ce27 (diff) | |
download | resp-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.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |