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

added several early syntax errors #99

Merged
merged 1 commit into from
Mar 6, 2020
Merged

added several early syntax errors #99

merged 1 commit into from
Mar 6, 2020

Conversation

rickbutton
Copy link
Member

fixes #84
fixes #46


Using the `__proto__` identifier as a property is prevented in syntax. See [issue #46](https://github.com/tc39/proposal-record-tuple/issues/46) for more discussion.
```js
const x = #{ __proto__: foo }; // SyntaxError, __proto__ identifier prevented by syntax
Copy link
Member

Choose a reason for hiding this comment

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

Needs to be taken in account in #95

@rricard rricard merged commit 581682c into master Mar 6, 2020
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

Successfully merging this pull request may close these issues.

Holes in Tuples Will __proto__ be treated as prototype for records?
2 participants