Ignore:
Timestamp:
05/23/09 22:44:26 (12 years ago)
Author:
astalla
Message:

Fixed a bug in interpreted let* and do*: the environment used for bindings
was a single one, shared with all the initforms and the body. This caused
closures in initforms to capture newly-introduced bindings.
The fix amounts to creating a new extended environment for every binding.
In passing a typo was fixed in java.lisp.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/abcl/src/org/armedbear/lisp/java.lisp

    r11590 r11940  
    289289      `(java:jclass ,(jcall (jmethod "java.lang.Class" "getName") object)))
    290290     (t
    291       (error "Unknown load-from for ~A" class-name)))))
     291      (error "Unknown load-form for ~A" class-name)))))
    292292
    293293(defun jproperty-value (obj prop)
Note: See TracChangeset for help on using the changeset viewer.