Skip to content
Snippets Groups Projects
Commit c231fb42 authored by rtoy's avatar rtoy
Browse files

From Gerd, cmucl-imp, 2005/06/11:

    This week's fix is for something Lynn Quam reported 2004-10-18.

    (defclass a (b) ())

    (compile nil
	     (lambda ()
	       (defclass b ()
		 ((x :reader b-x)))
	       (defmethod f ((obj b))
		 (b-x obj))))
      => error during macro expansion

    The fix is:

	    * src/pcl/method-slot-access-optimization.lisp (check-inline-accessor-call-p):
	    Return nil for forward-referenced classes.

	    * src/pcl/info.lisp (decide-slot-type): Return nil for
	    forward-referenced classes.
parent 1cefe89a
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment