Opened 9 years ago

Closed 8 years ago

#244 closed defect (fixed)

compile doesn't return correct values for warnings-p and failure-p

Reported by: ehuelsmann Owned by: ehuelsmann
Priority: major Milestone: 1.1.0
Component: compiler Version: 1.1.0
Keywords: Cc:
Parent Tickets:


(compile nil '(lambda () (char=)))
; Caught WARNING:
; Wrong number of arguments for CHAR=.

; Compilation unit finished
; Caught 1 WARNING condition

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

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.

Change History (2)

comment:1 Changed 8 years ago by Mark Evenson


comment:2 Changed 8 years ago by Mark Evenson

Resolution: fixed
Status: newclosed
Version: 1.1.0
Note: See TracTickets for help on using tickets.