-
-
Notifications
You must be signed in to change notification settings - Fork 26.9k
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
Investigate if object rest works correctly in tests on master #904
Milestone
Comments
gaearon
changed the title
Investigate if object rest works correctly in tests
Investigate if object rest works correctly in tests on master
Oct 14, 2016
To provide more context:
|
I have Node 6.7.0 installed. Checked out it('renders without crashing', () => {
const obj = {
a: 'a',
b: 'b',
c: 'c'
};
const { a, ...z } = obj;
console.log(a);
console.log(z);
const div = document.createElement('div');
ReactDOM.render(<App />, div);
}); Got a
|
I imagine this is blocked by babel/babel#4074 |
@gaearon will work on fixing it in babel next babel/babel#4755 |
Fixed in |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I want to hold off releasing 0.7.0 until we figure out if this is an issue: #892 (comment).
I would appreciate help trying to reproduce this in tests in master, and if it reproduces, a fix. I presume that the fix would include whitelisting
destructuring
transform regardless of Node version.The text was updated successfully, but these errors were encountered: