Skip to content
Snippets Groups Projects
Commit 518d8afe authored by ram's avatar ram
Browse files

Hack to prevent type-intersection from delegating infinitely.

parent d3298dd1
No related branches found
No related tags found
No related merge requests found
......@@ -7,7 +7,7 @@
;;; Scott Fahlman or slisp-group@cs.cmu.edu.
;;;
(ext:file-comment
"$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/type.lisp,v 1.18 1993/08/31 21:33:16 ram Exp $")
"$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/type.lisp,v 1.19 1993/09/01 00:09:19 ram Exp $")
;;;
;;; **********************************************************************
;;;
......@@ -78,7 +78,7 @@
;;;
(defun delegate-complex-intersection (type1 type2)
(let ((method (type-class-complex-intersection (type-class-info type1))))
(if method
(if (and method (not (eq method #'delegate-complex-intersection)))
(funcall method type2 type1)
(vanilla-intersection type1 type2))))
......
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