Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

The expansion of ikeywords:defpackage lacked an EVAL-WHEN.

This resulted in compile-time package conflicts during file compilation. Unfortunately, REPL testing had not revealed this problem.
  • Loading branch information...
commit 38a2c0f3ea1bd730abd303e214c8d9741e251194 1 parent 75ae1bb
@Hexstream authored
Showing with 5 additions and 3 deletions.
  1. +3 −2 incognito-keywords.asd
  2. +2 −1  main.lisp
View
5 incognito-keywords.asd
@@ -7,9 +7,10 @@
:description "incognito-keywords introduces a new kind of keyword that looks just like any non-keyword symbol and allows safe usage of convenient but clashy symbol names by multiple libraries without conflicts through sharing. Some names that might benefit are (alist blist plist macro operator index &doc &decl &rest+ &destructure &ignored &ignorable)."
- :depends-on (#:map-bind)
+ :depends-on (#:map-bind
+ #:enhanced-eval-when)
- :version "1.0"
+ :version "1.0.1"
:serial cl:t
:components ((:file "package")
(:file "main")))
View
3  main.lisp
@@ -34,7 +34,8 @@
((:nicknames :documentation :size)
option))))))
`(progn
- (mapcar #'ensure ',(reduce #'nconc (nreverse exported) :from-end t))
+ (enhanced-eval-when:eval-when t
+ (mapcar #'ensure ',(reduce #'nconc (nreverse exported) :from-end t)))
(cl:defpackage ,name
(:use #:ikeyword)
,@clauses))))
Please sign in to comment.
Something went wrong with that request. Please try again.