Re: [racket-dev] Odd bug with begin0 and call-with-values

2012-11-05 Thread Matthew Flatt
This looks like the sort of thing that I could have broken over the weekend. I'm not able to construct an example from just this information, so even a large amount of code may be useful. At Mon, 5 Nov 2012 16:46:29 -0500 (EST), J. Ian Johnson wrote: Code that used to work is now failing with a

Re: [racket-dev] Odd bug with begin0 and call-with-values

2012-11-05 Thread Matthew Flatt
Thanks for the example. Here's a small variant: #lang racket/base (call-with-values (lambda () (begin0 (values 1 2 3) (+ 1 (random 1 list) The bug wasn't new. It was an old, amazing-that-we-never-hit-it-before bug. Fix pushed. At Mon, 5 Nov 2012