aboutsummaryrefslogtreecommitdiff
path: root/nomsu.moon
diff options
context:
space:
mode:
authorBruce Hill <bitbucket@bruce-hill.com>2017-09-14 05:49:01 -0700
committerBruce Hill <bitbucket@bruce-hill.com>2017-09-14 05:49:01 -0700
commit2dc9d24a5fadcd4789a137be6d91a79ae019aa1b (patch)
tree3c398e4ef59bb251890f0235075343851238ed8a /nomsu.moon
parent2cf8a96c703b1019195803d40c8c468562cdc8b5 (diff)
Fixed error message, added another convenience accessor.
Diffstat (limited to 'nomsu.moon')
-rwxr-xr-xnomsu.moon2
1 files changed, 1 insertions, 1 deletions
diff --git a/nomsu.moon b/nomsu.moon
index 2a9a21d..18d65e9 100755
--- a/nomsu.moon
+++ b/nomsu.moon
@@ -144,7 +144,7 @@ class NomsuCompiler
table.insert(invocations, invocation)
if prev_arg_names
if not utils.equivalent(utils.set(prev_arg_names), utils.set(_arg_names))
- @error("Conflicting argument names #{utils.repr(arg_names)} and #{utils.repr(_arg_names)} for #{utils.repr(text)}")
+ @error("Conflicting argument names #{utils.repr(prev_arg_names)} and #{utils.repr(_arg_names)} for #{utils.repr(text)}")
else prev_arg_names = _arg_names
arg_names[invocation] = _arg_names
return invocations, arg_names