Opened 12 years ago

Closed 11 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:

Description

(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.

Change History (2)

comment:1 Changed 11 years ago by Mark Evenson

Milestone: 1.1.01.1.1

comment:2 Changed 11 years ago by Mark Evenson

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