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

Strange multiple assignment behavior in v7.3.x and 7.4.x #10775

Closed
churchie317 opened this issue Jan 12, 2017 · 2 comments
Closed

Strange multiple assignment behavior in v7.3.x and 7.4.x #10775

churchie317 opened this issue Jan 12, 2017 · 2 comments
Labels
duplicate Issues and PRs that are duplicates of other issues or PRs. vm Issues and PRs related to the vm subsystem.

Comments

@churchie317
Copy link

  • Version: 7.3.x & 7.4.x
  • Platform: Darwin Kernel Version 16.3.0: root:xnu-3789.31.2~1/RELEASE_X86_64 x86_64

I would like to report a possible regression.

I was investigating an issue for React, which ultimately narrowed down to the line of code found here. When run in Node's v6.9.x-7.2.x the multiple assignment behaves as expected. However, in releases v7.3.x and v7.4.x the env.global.console is not being properly reassigned.

Strangely, I can also confirm that multiple assignments works as expected in the current (v7.4.0) version of Node.

@addaleax
Copy link
Member

Is this the same issue as #10492?

@churchie317
Copy link
Author

Ah, yep.

Closing because duplicate.

@addaleax addaleax added duplicate Issues and PRs that are duplicates of other issues or PRs. vm Issues and PRs related to the vm subsystem. labels Jan 12, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate Issues and PRs that are duplicates of other issues or PRs. vm Issues and PRs related to the vm subsystem.
Projects
None yet
Development

No branches or pull requests

2 participants