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

Warn on variables that are only ever referenced #843

Closed
evhub opened this issue Jun 17, 2024 · 0 comments
Closed

Warn on variables that are only ever referenced #843

evhub opened this issue Jun 17, 2024 · 0 comments

Comments

@evhub
Copy link
Owner

evhub commented Jun 17, 2024

Given that we can distinguish between a variable reference and definition, if at the end of a file we've only seen a name referenced but never defined, we should show a warning.

@evhub evhub added this to the v3.1.2 milestone Jun 17, 2024
evhub added a commit that referenced this issue Jun 24, 2024
@evhub evhub added the resolved label Jun 24, 2024
@evhub evhub closed this as completed Jun 24, 2024
@evhub evhub mentioned this issue Sep 1, 2024
evhub added a commit that referenced this issue Sep 1, 2024
See Coconut's
[documentation](http://coconut.readthedocs.io/en/develop/DOCS.html) for
more information on all of the features listed below.

Bugfixes:
* #851, #852: Fixed comments inside of parentheses in the Jupyter
kernel.

Language features:
* #846: `reduce`, `takewhile`, and `dropwhile` now support keyword
arguments.
* #848: Class and data patterns now support keyword argument name
elision.
* #847: New pattern-matching syntax for matching anonymous named tuples.

Compiler features:
* #843: Added compiler warnings for (some cases of) undefined variables.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant