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

Update checking of bounds declarations to handle lexically-hidden variables #75

Closed
dtarditi opened this issue Nov 22, 2016 · 0 comments
Closed
Milestone

Comments

@dtarditi
Copy link
Member

dtarditi commented Nov 22, 2016

We dropped the requirement that variables not be lexically hidden. We need to add some additional conditions about checking of bounds declarations involving lexically hidden variables. For example, we might need to add a condition that variables are suitably renamed before checking so that there is no lexical hiding, or something equivalent to that.

In a compiler implementation, this all drops out because the compiler will internally distinguish between variables in different scopes with the same name.

@dtarditi dtarditi added this to the Sprint 11 milestone Nov 22, 2016
dtarditi added a commit that referenced this issue Jan 3, 2017
…iables. (#87)

This updates the checking of bounds declaration to handle lexically-hidden variables.  This address issues GitHub issue #75.  Block-scoped variables that hide other variables need to be renamed before checking.   This change also fixes a few typos in that section.
@dtarditi dtarditi closed this as completed Jan 3, 2017
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

No branches or pull requests

1 participant