From 2dc9d24a5fadcd4789a137be6d91a79ae019aa1b Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Thu, 14 Sep 2017 05:49:01 -0700 Subject: Fixed error message, added another convenience accessor. --- nomsu.moon | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nomsu.moon') 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 -- cgit v1.2.3