Raymond Toy pushed to branch master at cmucl / cmucl

Commits:

3 changed files:

Changes:

  • src/code/describe.lisp
    ... ... @@ -313,11 +313,12 @@
    313 313
       (let ((info (kernel:%code-debug-info code-obj)))
    
    314 314
         (when info
    
    315 315
           (let ((sources (c::debug-info-source info)))
    
    316
     	(format t (intl:gettext "~&On ~A it was compiled from:")
    
    317
     		(format-universal-time nil
    
    318
     				       (c::debug-source-compiled
    
    319
     					(first sources))
    
    320
     				       :style :iso8601))
    
    316
     	(when sources
    
    317
     	  (format t (intl:gettext "~&On ~A it was compiled from:")
    
    318
     		  (format-universal-time nil
    
    319
     					 (c::debug-source-compiled
    
    320
     					  (first sources))
    
    321
     					 :style :iso8601)))
    
    321 322
     	(dolist (source sources)
    
    322 323
     	  (let ((name (c::debug-source-name source)))
    
    323 324
     	    (ecase (c::debug-source-from source)
    

  • tests/issues.lisp
    ... ... @@ -298,3 +298,15 @@
    298 298
     	(assert-eql (length in-string) (length out-string))
    
    299 299
     	(assert-equal in-string out-string)))))
    
    300 300
     
    
    301
     
    
    302
     
    
    303
     (define-test issue.30
    
    304
         (:tag :issues)
    
    305
       (let* ((test-file #.(merge-pathnames #p"resources/issue-30.lisp" cl:*load-pathname*))
    
    306
     	 (fasl-file (compile-file-pathname test-file)))
    
    307
         ;; Compiling and loading the test file should succeed without
    
    308
         ;; errors.
    
    309
         (assert-true (pathnamep test-file))
    
    310
         (assert-true (pathnamep fasl-file))
    
    311
         (assert-equalp (list fasl-file nil nil)
    
    312
     		  (multiple-value-list (compile-file test-file :load t)))))

  • tests/resources/issue-30.lisp
    1
     (defun foo ()
    
    2
       (print "Hello world"))
    
    3
     
    
    4
     (describe 'foo)