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

Fix typo that prevented correct type derivation when

:IF-DOES-NOT-EXIST was given and was not a constant continuation.

See report from Stefan Scholl, cmucl-help, 2005-03-18.
parent e2062f37
No related branches found
No related tags found
No related merge requests found
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
;;; Carnegie Mellon University, and has been placed in the public domain. ;;; Carnegie Mellon University, and has been placed in the public domain.
;;; ;;;
(ext:file-comment (ext:file-comment
"$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/knownfun.lisp,v 1.26 2003/08/25 20:50:59 gerd Exp $") "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/knownfun.lisp,v 1.27 2005/03/22 14:33:53 rtoy Exp $")
;;; ;;;
;;; ********************************************************************** ;;; **********************************************************************
;;; ;;;
...@@ -368,7 +368,7 @@ ...@@ -368,7 +368,7 @@
;; and set default values for any that weren't set above ;; and set default values for any that weren't set above
(when (eq direction not-set) (setq direction :input)) (when (eq direction not-set) (setq direction :input))
(when (eq if-exists not-constant) (setq if-exists nil)) (when (eq if-exists not-constant) (setq if-exists nil))
(when (eq if-does-not-exist not-constant) (set if-does-not-exist nil)) (when (eq if-does-not-exist not-constant) (setq if-does-not-exist nil))
(when (or (eq class not-set) (eq class not-constant)) (setq class 'stream)) (when (or (eq class not-set) (eq class not-constant)) (setq class 'stream))
;; now, NIL is a possible result only in the following cases: ;; now, NIL is a possible result only in the following cases:
;; direction is :probe or not-constant and :if-does-not-exist is ;; direction is :probe or not-constant and :if-does-not-exist is
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment