Changes between Initial Version and Version 2 of Ticket #926


Ignore:
Timestamp:
Apr 7, 2012, 8:16:19 PM (7 years ago)
Author:
gb
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #926

    • Property Owner set to gb
    • Property Component changed from IDE to Compiler
    • Property Status changed from new to assigned
    • Property Type changed from defect to enhancement
  • Ticket #926 – Description

    initial v2  
    11Dan Weinreb   2009-01-05 13:49:46 EST
     2{{{
    23(defun foo (a)
    34  (declare (fixnum a))
    45  (+ a a))
    5 
     6}}}
    67works fine.
    7 
     8{{{
    89(defmacro bad () '(declare (fixnum a)))
    910(defun foo (a) (bad) (+ a a))
    10 
     11}}}
    1112gets a compile-time error, because macros are not
    1213allowed to expand into declarations.