Custom Query (1030 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (343 - 345 of 1030)

Ticket Resolution Summary Owner Reporter
#926 fixed Some users have difficulty understanding the error that occurs when declarations are encountered in contexts where they aren't allowed Gary Byers Francois-Rene Rideau
Description

Dan Weinreb 2009-01-05 13:49:46 EST

(defun foo (a)
  (declare (fixnum a))
  (+ a a))

works fine.

(defmacro bad () '(declare (fixnum a)))
(defun foo (a) (bad) (+ a a))

gets a compile-time error, because macros are not allowed to expand into declarations.

However, the text of the error message is:

DECLARE not expected in (DECLARE (FIXNUM A)).

That's pretty unclear.

[NB: was ITA bug 52936]

#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.

#958 fixed Shift-UpArrow and Shift-DownArrow fail on edge cases Gary Byers Andrew Shalit
Description

When the cursor is in the first line in a buffer, shift-UpArrow should select the text between the cursor and the start of the buffer. It currently does nothing.

When the cursor is in the last line in a buffer, shift-DownArrow should select the text between the cursor and the end of the buffer. It currently does nothing.

Pressing UpArrow and DownArrow without the shift modifiers work correctly, i.e. they move the cursor to the beginning or end of the buffer.

This is related to ticket #549.

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