jphmrst / cl-nst

Unit testing for Common Lisp
Other
9 stars 1 forks source link

(UNLESS (FBOUNDP ...)) around (DEFGENERIC ...) doesn't work on ECL #6

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
I'm running version 4.0.1 of NST in the 13.5.1 ECL compiler.  I've submitted a 
compiler bug.  It has an issue where:  (UNLESS (FBOUNDP 'FOO) (DEFGENERIC FOO 
() (:METHOD () :FOO))) defines the generic in a different pass than it compiles 
the methods and so no methods get defined.  This construct is used in 
core/commands.lisp for #'PREP-ARG-NAMES-HELP.

Looking at the NST code, I can't see why this was wrapped up this way.  I got 
rid of the FBOUNDP in my local copy and HELP still seems to work and commands 
and all of the nst-simple tests still pass on CCL and SBCL (and 95 of 97 of 
them pass on ECL -- I'll look into the two failing ones soon).

Original issue reported on code.google.com by john.mar...@gmail.com on 2 Sep 2014 at 4:08