Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes processing dependencies like (:feature :windows "winhttp") #2

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

svetlyak40wt
Copy link

This fixes issue #1.

The problem was because asdf::resolve-dependency-spec can return nil if feature is not supported in the current lisp implementation:

CL-USER> (member :windows *features*)
NIL

CL-USER> (asdf::resolve-dependency-spec :dexador '(:feature :windows "winhttp"))
NIL

;; but
CL-USER> (asdf::resolve-dependency-spec :dexador "winhttp")
#<ASDF/SYSTEM:SYSTEM "winhttp">

This fixes issue svspire#1.

The problem was because `asdf::resolve-dependency-spec` can return nil if feature is not supported in the current lisp implementation:

```lisp
CL-USER> (member :windows *features*)
NIL

CL-USER> (asdf::resolve-dependency-spec :dexador '(:feature :windows "winhttp"))
NIL

;; but
CL-USER> (asdf::resolve-dependency-spec :dexador "winhttp")
#<ASDF/SYSTEM:SYSTEM "winhttp">
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant