[Openmcl-devel] Is this a bug?

Gary Byers gb at clozure.com
Sun Mar 16 16:21:43 PDT 2008

The release notes say:

   All ObjC classes are properly named, either with a name exported
   from the NS package (in the case of a predefined class declared in
   the interface files) or with the name provided in the DEFCLASS
   form (with :METACLASS NS:+NS-OBJECT) which defines the class from
   lisp.  The class's lisp name is now proclaimed to be a "static"
   variable (as if by DEFSTATIC, as described above) and given the
   class object as its value.  In other words:

(send (find-class 'ns:ns-application) 'shared-application)


(send ns:ns-application 'shared-application)

   are equivalent.  (Since it's not legal to bind a "static" variable,
   it may be necessary to rename some things so that unrelated
   variables whose names coincidentally conflict with ObjC class names
   don't do so.)

Whether that's more trouble than it's worth is another question.

On Sun, 16 Mar 2008, Ron Garret wrote:

> ? (defclass foo (ns:ns-view) () (:metaclass ns:+ns-object))
> ? (let (foo))
> > Error: While compiling an anonymous function :
> >        FOO is declared static and can not be bound, in process
> Listener(111).
> _______________________________________________
> Openmcl-devel mailing list
> Openmcl-devel at clozure.com
> http://clozure.com/mailman/listinfo/openmcl-devel

More information about the Openmcl-devel mailing list