Custom Query (1030 matches)
Results (307 - 309 of 1030)
| Ticket | Resolution | Summary | Owner | Reporter |
|---|---|---|---|---|
| #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. |
|||
| #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] |
|||
| #927 | fixed | If a symbol-macrolet defines the same symbol twice, the compiler should complain | ||
| Description |
Dan Weinreb 2009-01-09 10:59:52 EST We had trouble in a place where a macro of ours expanded into a symbol-macrolet with several clauses, two of which defined the very same symbol. See our Buzilla http://svn.internal.itasoftware.com/trac/changeset/238504 I don't actually see anywhere in the HyperSpec that says this is illegal, although it also does not say what it would do (which symbol "wins"?). SBCL flags it as an error. For the time being, Fare has fixed that macro to check for that error manually. [NB: ITA Bug 53168] |
|||
