Skip to content
Commits on Source (4)
......@@ -313,11 +313,12 @@
(let ((info (kernel:%code-debug-info code-obj)))
(when info
(let ((sources (c::debug-info-source info)))
(format t (intl:gettext "~&On ~A it was compiled from:")
(format-universal-time nil
(c::debug-source-compiled
(first sources))
:style :iso8601))
(when sources
(format t (intl:gettext "~&On ~A it was compiled from:")
(format-universal-time nil
(c::debug-source-compiled
(first sources))
:style :iso8601)))
(dolist (source sources)
(let ((name (c::debug-source-name source)))
(ecase (c::debug-source-from source)
......
......@@ -298,3 +298,15 @@
(assert-eql (length in-string) (length out-string))
(assert-equal in-string out-string)))))
(define-test issue.30
(:tag :issues)
(let* ((test-file #.(merge-pathnames #p"resources/issue-30.lisp" cl:*load-pathname*))
(fasl-file (compile-file-pathname test-file)))
;; Compiling and loading the test file should succeed without
;; errors.
(assert-true (pathnamep test-file))
(assert-true (pathnamep fasl-file))
(assert-equalp (list fasl-file nil nil)
(multiple-value-list (compile-file test-file :load t)))))
(defun foo ()
(print "Hello world"))
(describe 'foo)