Changeset 12159


Ignore:
Timestamp:
May 29, 2009, 10:48:30 PM (10 years ago)
Author:
gz
Message:

Do not warn about undefined types in runtime calls to PROCLAIM, since there is no reason to require all the types to be defined at that point

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/working-0711/ccl/level-1/l1-utils.lisp

    r12158 r12159  
    553553  (when *type-system-initialized*
    554554    ;; Check the type.  This will signal program-error's in case of invalid types, let it.
    555     (handler-case (specifier-type type)
    556       (parse-unknown-type (c)
    557         (warn "Undefined type ~s in declaration specifier ~s"
    558               (parse-unknown-type-specifier c) `(,type ,@vars)))))
     555    ;; Do not signal anything about unknown types though -- it should be ok to have forward
     556    ;; references here, before anybody needs the info.
     557    (specifier-type type))
    559558  (dolist (var vars)
    560559    (let ((spec (assq var *nx-proclaimed-types*)))
Note: See TracChangeset for help on using the changeset viewer.