Skip to content

Commit

Permalink
Fix HOME-FORM expansion
Browse files Browse the repository at this point in the history
  • Loading branch information
Shinmera committed Nov 26, 2024
1 parent 9d6b220 commit a21ae19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@
(form-fiddle:with-body-options (body options parent home (test-class 'test) (compile-at :compile-time) defun) arguments-and-body
(let ((body (remove 'define-test body :key (lambda (a) (when (listp a) (car a))) :test #'eql))
(defs (remove 'define-test body :key (lambda (a) (when (listp a) (car a))) :test-not #'eql))
(home-form `(find-package ,(package-name (or home *package*)))))
(home-form (or home `(find-package ,(package-name *package*)))))
(when (and parent nparent)
(error "Cannot specify parent through name and through a keyword argument at the same time!"))
`(let ((*package* (find-package ,(package-name *package*)))) ; Make sure package stays consistent throughout initialisation.
Expand Down

0 comments on commit a21ae19

Please sign in to comment.