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

fix a bug due to allegro's function variable-information problem #8

Merged
merged 1 commit into from Feb 3, 2016
Merged

fix a bug due to allegro's function variable-information problem #8

merged 1 commit into from Feb 3, 2016

Conversation

ghost
Copy link

@ghost ghost commented Feb 2, 2016

While I try to make jonathan work in Allegro CL, I found there's a problem with Allegro CL's variable-information function. In the documentation it says the 3rd return value of variable-information should be an alist, however, it's a proper list instead of alist. So for example, if there's a dummy function like this:

;;;; try it in Allegro CL
(defun test-str (str)
   (declare (type simple-string str))
   (with-vector-parsing (str)
    (flet ((add (x y) (+ x y)))
       (add 1 2))))

then if I issue (test-str "LISP") in the REPL, it will report an error because the function VARIABLE-TYPE actually returns ((SIMPLE-ARRAY CHARACTER (*))) instead of (SIMPLE-ARRAY CHARACTER (*)).

I guess it may be a bug of Allegro CL itself, I will also send an email to Allegro Support later.

@ghost ghost mentioned this pull request Feb 2, 2016
fukamachi added a commit that referenced this pull request Feb 3, 2016
fukamachi added a commit that referenced this pull request Feb 3, 2016
fix a bug due to allegro's function `variable-information` problem
@fukamachi fukamachi merged commit 9643f91 into fukamachi:master Feb 3, 2016
@fukamachi
Copy link
Owner

Thanks!

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.

1 participant