From 3c510e4ee5027aa5191e994bdf0a080a32a4b082 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Tue, 12 Jun 2018 18:04:18 -0700 Subject: Lots of optimizations and simplifications, especially towards getting better performance on luajit. --- tests/control_flow.nom | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) (limited to 'tests/control_flow.nom') diff --git a/tests/control_flow.nom b/tests/control_flow.nom index 886b59c..5553811 100644 --- a/tests/control_flow.nom +++ b/tests/control_flow.nom @@ -193,14 +193,15 @@ assume return %n ..= 6 -%nums <- [] -for % in - values - -> 4 - -> 5 - -> 6 -.. - add % to %nums - -assume (%nums = [4,5,6]) or barf "Coroutine iteration failed" +# + %nums <- [] + for % in + values + -> 4 + -> 5 + -> 6 + .. + add % to %nums + + assume (%nums = [4,5,6]) or barf "Coroutine iteration failed" -- cgit v1.2.3