[Ecls-list] Almost ready for release
Juan Jose Garcia-Ripoll
juanjose.garciaripoll at googlemail.com
Thu Feb 25 13:33:49 UTC 2010
On Thu, Feb 25, 2010 at 12:11 PM, Tobias C. Rittweiler <tcr at freebits.de>wrote:
> a) "In function COS, value of argument is" -- Isn't there something
> missing in that part of the error message?
>
> b) (length 12) does not give such an informative error message, just a
> boring "is not of type SEQUENCE"
>
What about the example below? I have created a function,
FEwrong_type_nth_arg(), that outputs better error messages and register the
calling function with a debugger frame, in case it was not already there.
This way the message is nicer and the function appears in backtraces. I will
commit it once I finish testing it.
> (cos 'a)
In function COS, the value of the first argument is
A
which is not of the expected type NUMBER
Available restarts:
1. (RESTART-TOPLEVEL) Go back to Top-Level REPL.
Broken at COS.
>> :v
Local variables: none
Special variables: none
>> :b
Backtrace:
> COS
> si:bytecodes [Evaluation of: (cos 'a)]
--
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/20100225/8be680de/attachment.html>
More information about the ecl-devel
mailing list