Custom Query (1030 matches)
Results (820 - 822 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. |
|||
| #933 | fixed | Issue with format and user-defined format functions | ||
| Description |
When using user-defined format functions and ~:*, CCL fails to interpret the format string correctly: (defun cl-user::x (stream value a b) (declare (ignore a b)) (format stream "[~A]" value)) (defun x () (format nil "~/X/~:*~/X/" 1)) yields, while compiling: ; In X: Target position for ~* out of bounds in format string: ; "~:*~/X/~%" ; ^ and generates a runtime error. |
|||
