Re: [PATCH] Fix #1658 and add testcases for rest args

2019-12-18 Thread felix . winkelmann
> On Sun, Dec 15, 2019 at 10:06:06PM +0100, felix.winkelm...@bevuta.com wrote: > > I think you forgot the rest-arg-tests.scm file. > > Oops, you're right. Here it is. > Thanks, pushed. felix

Re: [PATCH] Fix #1658 and add testcases for rest args

2019-12-15 Thread Peter Bex
On Sun, Dec 15, 2019 at 10:06:06PM +0100, felix.winkelm...@bevuta.com wrote: > I think you forgot the rest-arg-tests.scm file. Oops, you're right. Here it is. Cheers, Peter From af34cce1815a496a5bc98d83b88bebbe21f14f9b Mon Sep 17 00:00:00 2001 From: Peter Bex Date: Sun, 15 Dec 2019 20:39:20

Re: [PATCH] Fix #1658 and add testcases for rest args

2019-12-15 Thread felix . winkelmann
I think you forgot the rest-arg-tests.scm file. felix

[PATCH] Fix #1658 and add testcases for rest args

2019-12-15 Thread Peter Bex
Hi all, Here's patch with a fix for #1658 and a test file for several rest argument optimizations. The problem was that optimizations would be applied in the wrong order: first a procedure would be inlined, and then its rest variables would be replaced with rest operations, but that's no longer