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

Bogus "not left unused" compiler warning #7

Open
nickdrozd opened this issue Aug 25, 2018 · 0 comments
Open

Bogus "not left unused" compiler warning #7

nickdrozd opened this issue Aug 25, 2018 · 0 comments
Labels
help wanted Extra attention is needed

Comments

@nickdrozd
Copy link
Owner

(reazon-run* _
      (reazon-likes 'robin 'lee))

This expression gets marked by the compiler with Warning: variable ‘_’ not left unused.

Clearly the variable is left unused in the query, but it gets bound in the macro.

Is there a declaration or something that would teach the compiler what "unused" means in this context? Barring that, is there a declaration or something to disable the warning in this context?

@nickdrozd nickdrozd added the help wanted Extra attention is needed label Oct 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant