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 COMPILATION-TOLERANCE slot missing error, resolves: #736 #739

Merged
merged 1 commit into from Oct 7, 2021
Merged

fix COMPILATION-TOLERANCE slot missing error, resolves: #736 #739

merged 1 commit into from Oct 7, 2021

Conversation

ghost
Copy link

@ghost ghost commented Oct 6, 2021

Error processing code accessed slots of the condition using WITH-SLOTS
macro and erroneously supplied slot names in the wrong package --
CL-QUIL-TESTS, not QUIL. Rewrote to access slots using full accessor
forms, properly package qualified. Note that the compiler does not
normally complain when WITH-SLOTS uses slot names that do not pertain
to the given class. It should be a bit safer now that we're using the
normal full accessors, since if these slot accessors were ever to
become invalid, it would be flagged at compile time.

Also added a new test for this machinery:
test-%with-loose-state-prep-compression-736

Error processing code accessed slots of the condition using WITH-SLOTS
macro and erroneously supplied slot names in the wrong package --
CL-QUIL-TESTS, not QUIL.  Rewrote to access slots using full accessor
forms, properly package qualified.  Note that the compiler does not
normally complain when WITH-SLOTS uses slot names that do not pertain
to the given class. It should be a bit safer now that we're using the
normal full accessors, since if these slot accessors were ever to
become invalid, it would be flagged at compile time.

Also added a new test for this machinery:
test-%with-loose-state-prep-compression-736
@stylewarning stylewarning merged commit d176882 into quil-lang:master Oct 7, 2021
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