Skip to content

LiteralPropertyName should allow BigInt #35982

@JLHwung

Description

@JLHwung

TypeScript Version: 3.8.0-dev.20200101

Search Terms: bigint, property name

Code

({1n: 123});

Expected behavior:
No error

Actual behavior:
Property Assignment Expected

Playground Link: https://www.typescriptlang.org/play/?ts=3.8.0-dev.20200101&ssl=1&ssc=1&pln=1&pc=15#code/BQbwBAjAdgXJBMBmMBfAlAbiA
Related Issues:

tc39/test262#2457
https://bugs.chromium.org/p/v8/issues/detail?id=10083

ecd1245 should be partially reverted.

Metadata

Metadata

Assignees

Labels

BugA bug in TypeScriptFix AvailableA PR has been opened for this issue

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions