Ignore:
Timestamp:
Apr 10, 2012, 12:57:45 PM (8 years ago)
Author:
gb
Message:

Warn (via full warning) on duplicate bindings in SYMBOL-MACROLET,
MACROLET, FLET, LABELS (fixes ticket:927.)

If a DECLARE expression is encountered when a form is expected,
make the error message more verbose (and mention macroexpansion
as a possible cause of the problem.) Fixes ticket:926.

Warn (via a full warning) if a local function shadows a global
CL function name. Fixes ticket:923.

If STYLE-WARNINGs are incidentally signaled during (e.g.)
macroexpansion and are handled and postprocessed by the compiler,
ensure that the warning actually generated will be a STYLE-WARNING.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/compiler/nx-basic.lisp

    r15307 r15314  
    690690    (:format-error . "~:{~@?~%~}")
    691691    (:program-error . "~a")
    692     (:unsure . "Nonspecific warning")))
     692    (:unsure . "Nonspecific warning")
     693    (:duplicate-binding . "Multiple bindings of ~S in ~A form")
     694    (:shadow-cl-package-definition . "Local function or macro name ~s shadows standard CL definition.")))
    693695
    694696(defun report-invalid-type-compiler-warning (condition stream)
Note: See TracChangeset for help on using the changeset viewer.