Download Firefox: WindowsMac OS X
logo       
Google Custom Search
    AddThis Social Bookmark Button
-->

[ sisc-Bugs-1083612 ] "undefined variable" error k too shallow: msg#00008

Subject: [ sisc-Bugs-1083612 ] "undefined variable" error k too shallow
Bugs item #1083612, was opened at 2004-12-11 21:40
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=379534&aid=1083612&group_id=23735

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Matthias Radestock (mradestock)
Assigned to: Nobody/Anonymous (nobody)
Summary: "undefined variable" error k too shallow

Initial Comment:
The code

(with/fc
    (lambda (m e)
      (let ([val 1])
        (putprop 'foo val)
        (e val)))
  (lambda ()
    (+ foo 1)))

should return 2 on the first and all subsequent
invocations. However, it returns 1 on the first invocation.

It appears that the error continuation of the
"undefined variable" error is the (+ ...) expression
rather than the "foo" expression.


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=379534&aid=1083612&group_id=23735


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/


<Prev in Thread] Current Thread [Next in Thread>