From b5fb8933af283d2b873a03ded085e8b69f374e81 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Tue, 12 Jun 2018 15:12:27 -0700 Subject: Removed dependency on 'immutable' library. This lets LuaJIT do more aggressive optimizations and generally helps performance. Some safety is lost, but I think the performance gains, reduced complexity, and reduced dependencies are worth it. --- tests/metaprogramming.nom | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/metaprogramming.nom b/tests/metaprogramming.nom index b9b97af..a31d030 100644 --- a/tests/metaprogramming.nom +++ b/tests/metaprogramming.nom @@ -55,7 +55,9 @@ try: foo 99 assume ((\(5 + 5) as value) = 10) or barf "%tree as value failed." -assume ("\(\(foo %x) as nomsu)" = "foo %x") or barf "source code failed." +assume ("\(\(foo %x) as nomsu)" = "foo %x") or barf "action source code failed." + +assume ("\(\%x as nomsu)" = "%x") or barf "var source code failed." assume ((type of {}) = "table") or barf "type of failed." -- cgit v1.2.3