(when (policy bind (>= debug 1))
(let ((args (functional-arg-documentation internal-fun)))
(aver (not (eq args :unspecified)))
- (setf (entry-info-arguments info) args)
;; When the component is dumped, the arglists of the entry
;; points will be dumped. If they contain values that need
;; make-load-form processing then we need to do it now (bug
;; 310132).
- (maybe-emit-make-load-forms args))
+ (setf (entry-info-arguments info)
+ (constant-value (find-constant args))))
(setf (entry-info-type info) (type-specifier (leaf-type internal-fun)))))
(values))
(funcall fun 42)
(undefined-function (c)
(cell-error-name c)))))))
+
+;;; Prior to 1.0.32.x, dumping a fasl with a function with a default
+;;; argument that is a complex structure (needing make-load-form
+;;; processing) failed an AVER. The first attempt at a fix caused
+;;; doing the same in-core to break.
+(with-test (:name :bug-310132)
+ (compile nil '(lambda (&optional (foo #p"foo/bar")))))
;;; checkins which aren't released. (And occasionally for internal
;;; versions, especially for internal versions off the main CVS
;;; branch, it gets hairier, e.g. "0.pre7.14.flaky4.13".)
-"1.0.32.29"
+"1.0.32.30"