From f9b90413a7a3bca69c3d715eba495a565bc01500 Mon Sep 17 00:00:00 2001 From: jnthn Date: Wed, 25 Feb 2009 15:38:42 +0100 Subject: [PATCH] Fix zip operator when there's a list containing a range on one side. Patch courtesy of bacek++. --- src/classes/List.pir | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/classes/List.pir b/src/classes/List.pir index a8ee6345169..08183d68ff1 100644 --- a/src/classes/List.pir +++ b/src/classes/List.pir @@ -427,7 +427,7 @@ The zip operator. unless arglist_it goto arglist_done .local pmc arg, arg_it arg = shift arglist_it - arg_it = iter arg + arg_it = arg.'iterator'() push iterlist, arg_it goto arglist_loop arglist_done: