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

Currently missing BitInt Literal support #102

Open
JakeChampion opened this issue Sep 26, 2020 · 3 comments
Open

Currently missing BitInt Literal support #102

JakeChampion opened this issue Sep 26, 2020 · 3 comments

Comments

@JakeChampion
Copy link

It looks like NectarJS is currently missing BigInt Literal support.

Steps to reproduce the issue:
1 - Install latest nectarjs
2 - Run these two commands

❯ echo "0n" > big-int.js
❯ nectar big-int.js

3 - Should see this error message from previous command

[*] Generating source file
[error] Parsing error: Identifier directly after number line 1 column 2 in file big-int.js
@adrien-thierry
Copy link
Contributor

Hi @JakeChampion , thank you

@JakeChampion
Copy link
Author

I see this has been labelled es5. I figure I should mention that BigInt was added in es2020, which is the 11th edition and not in es5.

Not sure if that changes anything but just in case you thought it was an es5 feature 👍

@adrien-thierry adrien-thierry added es2020 and removed es5 labels Sep 28, 2020
@adrien-thierry
Copy link
Contributor

Yes thx my bad, i was too fast

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants