[Ecls-list] errors happening in handler silently muffled

Juan Jose Garcia-Ripoll juanjose.garciaripoll at googlemail.com
Sun Feb 7 15:31:40 UTC 2010


I believe this is now fixed.

Juanjo

On Sun, Feb 7, 2010 at 2:12 PM, Tobias C. Rittweiler <tcr at freebits.de>wrote:

>
> ;;; /tmp/frob.lisp
> (defun test (var thing)
>  (setf (getf var 'foo) thing))
>
> At REPL:
>
> (handler-bind ((condition
>                 #'(lambda (c)
>                     (format "~&Caught: ~S => ~A~%" c c))))
>  (compile-file "/tmp/frob.lisp"))
>
> ;;; Compiling /tmp/frob.lisp.
> ;;; OPTIMIZE levels: Safety=3, Space=0, Speed=1, Debug=3
> ;;; Compiling (DEFUN TEST ...).
>
> Notice that the call to FORMAT is bogus (common typo of mine..)
>
> So an error is signaled in the handler (along with some non-local
> transfer of control which explains the mimimum compiler diagnostics),
> but that error is nowhere indicated.
>
>  -T.
>
>
>
> ------------------------------------------------------------------------------
> The Planet: dedicated and managed hosting, cloud storage, colocation
> Stay online with enterprise data centers and the best network in the
> business
> Choose flexible plans and management services without long-term contracts
> Personal 24x7 support from experience hosting pros just a phone call away.
> http://p.sf.net/sfu/theplanet-com
> _______________________________________________
> Ecls-list mailing list
> Ecls-list at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/ecls-list
>



-- 
Instituto de Física Fundamental, CSIC
c/ Serrano, 113b, Madrid 28006 (Spain)
http://juanjose.garciaripoll.googlepages.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/ecl-devel/attachments/20100207/37c4fd49/attachment.html>


More information about the ecl-devel mailing list