Custom Query (1030 matches)
Results (196 - 198 of 1030)
| Ticket | Resolution | Summary | Owner | Reporter |
|---|---|---|---|---|
| #928 | fixed | DEFINE-CONDITION allows non-condition parent conditions | ||
| Description |
Ethan H. Schwartz 2009-04-14 11:24:20 EDT On DEFINE-CONDITION, The CLHS says: parent-type---a symbol naming a condition type. If no parent-types are supplied, the parent-types default to (condition). With CCL Version 1.3-dev-r11854-working-0711 (LinuxX8664): (defclass a () ()) #<STANDARD-CLASS A> (define-condition foo (a) ()) FOO (error 'foo) #<STANDARD-CLASS FOO> is not a condition class It would be better if CCL complained at time of compilation of the condition that the parent-type argument is not a condition type. [was ITA bug 58450] |
|||
| #929 | fixed | Compiler should warn on #' (sharpsign single-quote) with undefined function | ||
| Description |
Ethan H. Schwartz 2009-05-03 16:41:00 EDT Observe: Welcome to Clozure Common Lisp Version 1.3-dev-r11962-working-0711 (LinuxX8664)! ? (defun foo1 () #'bar1) FOO1 ? (defun foo2 () #'common-lisp::bar2) FOO2 ? (defun foo3 () #'common-lisp:bar3) > Error: Reader error: No external symbol named "BAR3" in package #<Package "COMMON-LISP"> . Note that FOO1 and FOO2 will both error at runtime. CCL should have warned when defining those functions as well. |
|||
| #934 | fixed | ENCODE-UNIVERSAL-TIME returns negative values for times before 1900 | ||
| Description |
Ethan H. Schwartz 2009-08-03 11:09:54 EDT The CLHS says: Universal time is an absolute time represented as a single non-negative integer---the number of seconds since midnight, January 1, 1900 GMT [...] Because universal time must be a non-negative integer, times before the base time of midnight, January 1, 1900 GMT cannot be processed by Common Lisp. http://www.lispworks.com/documentation/HyperSpec/Body/25_adb.htm ? (ENCODE-UNIVERSAL-TIME 0 0 19 31 12 1899) 0 ? (ENCODE-UNIVERSAL-TIME 59 59 18 31 12 1899) -1 The right thing to do would probably be to signal a type error. |
|||
