Skip to content

Add support for BigInt literals in javascript code validation #60517

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
droland1 opened this issue Oct 10, 2018 · 2 comments
Closed

Add support for BigInt literals in javascript code validation #60517

droland1 opened this issue Oct 10, 2018 · 2 comments
Assignees
Labels
javascript JavaScript support issues upstream Issue identified as 'upstream' component related (exists outside of VS Code)

Comments

@droland1
Copy link

Chrome now supports the type BigInt for javascript code. This includes support for BigInt literals:

var n = 13135151n;

Visual Studio tags these literals as syntax errors. Coders can avoid these errors by instead using:

var n = BigInt("1313515");

It would be great if Visual Studio supported the literal notation.

@vscodebot
Copy link

vscodebot bot commented Oct 10, 2018

(Experimental duplicate detection)
Thanks for submitting this issue. Please also check if it is already covered by an existing one, like:

@vscodebot vscodebot bot added the javascript JavaScript support issues label Oct 10, 2018
@mjbvz
Copy link
Collaborator

mjbvz commented Oct 10, 2018

Tracked upstream by microsoft/TypeScript#15096

@mjbvz mjbvz closed this as completed Oct 10, 2018
@mjbvz mjbvz added the upstream Issue identified as 'upstream' component related (exists outside of VS Code) label Oct 10, 2018
@vscodebot vscodebot bot locked and limited conversation to collaborators Nov 24, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
javascript JavaScript support issues upstream Issue identified as 'upstream' component related (exists outside of VS Code)
Projects
None yet
Development

No branches or pull requests

2 participants