Skip to content

Blocks with locals should be added to the container chain. #2856

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

Merged
merged 1 commit into from
Apr 22, 2015

Conversation

CyrusNajmabadi
Copy link
Contributor

By doing this we can accurately handle name collisions with block scoped locals.

Fixes #2852

@@ -352,7 +352,7 @@ module ts {
export function isLineBreak(ch: number): boolean {
// ES5 7.3:
// The ECMAScript line terminator characters are listed in Table 3.
// Table 3 Line Terminator Characters
// Table 3: Line Terminator Characters
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There was an errant extended character in the file, breaking cscript.

@DanielRosenwasser
Copy link
Member

🐹

CyrusNajmabadi added a commit that referenced this pull request Apr 22, 2015
Blocks with locals should be added to the container chain.
@CyrusNajmabadi CyrusNajmabadi merged commit 8a8d175 into master Apr 22, 2015
@CyrusNajmabadi CyrusNajmabadi deleted the blockLocals branch April 22, 2015 00:40
@microsoft microsoft locked and limited conversation to collaborators Jun 18, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Module local renaming does not take into account block scoped locals
3 participants