#384 (setf documentation) on compiled closures

closed-fixed
clisp (525)
5
2006-11-29
2006-11-28
No

current CVS head

[5]> (defun foo (z) "asdfg" z)
FOO
[6]> (documentation 'foo 'function)
"asdfg"
[7]> (setf (documentation 'foo 'function) nil)
NIL
[8]> (documentation 'foo 'function)
NIL
[9]> (compile 'foo)
FOO ;
NIL ;
NIL
[10]> (documentation 'foo 'function)
"asdfg" ;; WRONG!!!
[12]> (setf (documentation 'foo 'function) nil)

*** - SYSTEM::CLOSURE-SET-DOCUMENTATION: argument NIL is not a string
The following restarts are available:
USE-VALUE :R1 You may input a value to be used instead.
ABORT :R2 ABORT
Break 1 [13]>

Discussion

  • Sam Steingold

    Sam Steingold - 2006-11-29

    Logged In: YES
    user_id=5735
    Originator: YES

    thank you for your bug report.
    the bug has been fixed in the CVS tree.
    you can either wait for the next release (recommended)
    or check out the current CVS tree (see http://clisp.cons.org\)
    and build CLISP from the sources (be advised that between
    releases the CVS tree is very unstable and may not even build
    on your platform).

     
  • Sam Steingold

    Sam Steingold - 2006-11-29
    • assigned_to: haible --> sds
    • status: open --> closed-fixed
     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks