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 some type declarations #47

Merged
merged 1 commit into from
Jan 21, 2022
Merged

Fix some type declarations #47

merged 1 commit into from
Jan 21, 2022

Conversation

glv2
Copy link

@glv2 glv2 commented Dec 1, 2020

This allows compiling with SBCL 2.0.11 which is less tolerant with wrong type declarations.

Fixes issue #45

@@ -53,7 +53,7 @@
(current :accessor entries-current :initarg :current :initform 0
:documentation "index of current data-entry inside data-entries")
(entries :accessor entries-entries :initarg :entries :initform nil
:type #-ccl cons #+ccl list
:type #-ccl (or null cons) #+ccl list
Copy link

@Zulu-Inuoe Zulu-Inuoe Dec 1, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This can just be updated to be :type list and get rid of the #-ccl and #+ccl since (or null cons) is === list

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Indeed, I'll update that.

This allows compiling with SBCL 2.0.11 which is less tolerant with wrong type
declarations.
@justjoheinz
Copy link

Is this ready to be merged? I came across similiar problems, and fixed some things on my own. But not in such a good way as here.

@mmaul mmaul merged commit 0cbedff into mmaul:master Jan 21, 2022
@glv2 glv2 deleted the glv branch January 21, 2022 10:36
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.

4 participants