Custom Query (1030 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (811 - 813 of 1030)

Ticket Resolution Summary Owner Reporter
#853 wontfix DEFVAR after DEFCONSTANT does not signal an error when no initial value provided Ron Garret
Description

SLSIA.

Welcome to Clozure Common Lisp Version 1.7-dev-r14715M-trunk  (DarwinX8664)!
? (defconstant x 1)
X
? (defvar x)  ; Should signal an error but doesn't
X
? (defvar x 1)
> Error: Can't redefine constant X .
#935 wontfix INTERSECTION should signal TYPE-ERROR when LIST2 is not a list Francois-Rene Rideau
Description

Ethan H. Schwartz 2009-07-23 10:53:02 EDT

Welcome to Clozure Common Lisp Version 1.4-dev-r12415-working-0711 
(LinuxX8664)!
? (intersection nil :a)
NIL
?
#937 wontfix Compiler should warn for invalid type specs in handler-case Gary Byers Francois-Rene Rideau
Description

Dan Weinreb 2010-05-07 16:29:48 EDT

In a case such as this:

(defun foo (x y)
  (handler-case
      (/ x y)
    ((error serious-condition) ()
      5)))

it would be nice if the compiler could detect that (error serious-condition) is not a valid type (i.e. the programmer omitted the "or").

In

(defun bar (x)
  (check-type x (error serious-condition))
  x)

the compiler does, correctly, issue a warning; could that same mechanism be applied to handler-case?

NB: This was ITA bug 79938.

Batch Modify
Note: See TracBatchModify for help on using batch modify.
Note: See TracQuery for help on using queries.