Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
If a global reference is used inside the definition of a local with the same name, the global is aliased by the local. Previous attempts to get around this do not work generally, but we can detect when such a situation occurs and emit a compiler error. This 'fix' could possibly be better addressed with a VERY large compiler refactor, but such code is usually bad style anyways.
- Loading branch information
Showing
2 changed files
with
16 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters