Skip to content
Snippets Groups Projects
Forked from cmucl / cmucl
Source project has a limited visibility.
  • pw's avatar
    9ce21b91
    This revision turns on INFORM-TYPE-SYSTEM-ABOUT-STD-CLASS which · 9ce21b91
    pw authored
    represses compiler warnings about undefined class when compiling
    defmethods in the same file as the defclass forms. It does this
    by calling (lisp:make-class :name class-name) which creates a
    minimal entry such that lisp:find-class will return non-nil. The
    class entry is filled out at load time. A consequence of this is
    that until load time, any attempt to treat that minimal class as
    valid will fail, probably because lisp:class-layout => NIL. This
    doesn't seem a problem in current practice.
    9ce21b91
    History
    This revision turns on INFORM-TYPE-SYSTEM-ABOUT-STD-CLASS which
    pw authored
    represses compiler warnings about undefined class when compiling
    defmethods in the same file as the defclass forms. It does this
    by calling (lisp:make-class :name class-name) which creates a
    minimal entry such that lisp:find-class will return non-nil. The
    class entry is filled out at load time. A consequence of this is
    that until load time, any attempt to treat that minimal class as
    valid will fail, probably because lisp:class-layout => NIL. This
    doesn't seem a problem in current practice.