[armedbear-ticket] [armedbear] #244: compile doesn't return correct values for warnings-p and failure-p

armedbear armedbear-devel at common-lisp.net
Fri Aug 31 21:27:31 UTC 2012


#244: compile doesn't return correct values for warnings-p and failure-p
------------------------+---------------------------------------------------
 Reporter:  ehuelsmann  |       Owner:  ehuelsmann
     Type:  defect      |      Status:  new       
 Priority:  major       |   Milestone:  1.1.0     
Component:  compiler    |     Version:            
 Keywords:              |  
------------------------+---------------------------------------------------
 (compile nil '(lambda () (char=)))
 ; Caught WARNING:
 ;   Wrong number of arguments for CHAR=.


 ; Compilation unit finished
 ;   Caught 1 WARNING condition

 #<FUNCTION (LAMBDA ()) {456E3EB3}>
 NIL
 NIL

 while it should be T, T.

 jvm-compile, which handles this doesn't succeed because the underlying
 with-compilation-unit eats all the warnings and errors so that
 jvm-compile's handler-bind doesn't get a piece of them. Binding
 *resignal-compiler-warnings* to T inside jvm-compile resolves this.

-- 
Ticket URL: <http://trac.common-lisp.net/armedbear/ticket/244>
armedbear <http://common-lisp.net/project/armedbear>
armedbear


More information about the armedbear-ticket mailing list