Re: interesting bug

2009-10-25 Thread Ludovic Courtès
Hey! Andy Wingo writes: > The '(args) is duplicated, the compiler notices that, and stores it only > once. When the memoizer processes the '(args) *argument* it memoizes > args to point to its lexical location (#...@0+0; I didn't show the let in > my example). But that side-effects the formals o

interesting bug

2009-10-23 Thread Andy Wingo
I saw an interesting bug today. Can you guess the cause of this error? ERROR: In procedure memoization: ERROR: Bad formal #...@0+0 in expression (lambda (#...@0+0) (apply (lambda (#{filename\ 2520}# #{proc\ 2521}# #{reference\ 2522}#) (let ((#{template\ 2523}# (string-append #{filename\ 2520