Skip to content

add test for BigInt literals used as literal property names #2462

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

Closed

Conversation

legendecas
Copy link
Member

BigInt literals may be used as a literal property name in an object literal.

Refs: https://tc39.es/ecma262/#prod-LiteralPropertyName
Refs: https://tc39.es/ecma262/#prod-NumericLiteral

BigInt literals may be used as a literal property name in an object literal.
@mysticatea
Copy link
Contributor

mysticatea commented Jan 6, 2020

Sounds like a duplicate of #2457? [EDIT] This tests destructuring as well.

Comment on lines 4 to 9
/*---
description: >
BigInt literals may be used as a literal property name in an object
literal.
es6id: 12.2.6
---*/
Copy link
Contributor

Choose a reason for hiding this comment

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

I think that this test needs features field.

features: [BigInt, destructuring-binding]

Copy link
Member Author

Choose a reason for hiding this comment

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

Thanks! Updated.

@legendecas
Copy link
Member Author

@rwaldron
Copy link
Contributor

rwaldron commented Feb 5, 2020

Duplicate of #2457

@rwaldron rwaldron marked this as a duplicate of #2457 Feb 5, 2020
@rwaldron rwaldron closed this Feb 5, 2020
@legendecas legendecas deleted the property-name-bigint-literal branch February 6, 2020 05:59
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.

3 participants