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

Add tests for BigInt disallowed in LegacyOctalLike and NonOctal literals #2253

Merged
merged 2 commits into from
Jul 23, 2019

Conversation

leobalter
Copy link
Member


$DONOTEVALUATE();

08n;
Copy link
Contributor

Choose a reason for hiding this comment

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

Given the filename, this should perhaps be 09n?

rkirsling
rkirsling previously approved these changes Jul 22, 2019
Copy link
Member

@rkirsling rkirsling left a comment

Choose a reason for hiding this comment

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

LGTM otherwise. 👍

@@ -0,0 +1,28 @@
// Copyright (C) 2017 Robin Templeton. All rights reserved.
Copy link
Contributor

Choose a reason for hiding this comment

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

Is this header correct?

Copy link
Member Author

@leobalter leobalter Jul 23, 2019

Choose a reason for hiding this comment

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

I copy and paste the files structure usually from the same folder. I changed this file but somehow forgot to save it. Thanks!

@leobalter
Copy link
Member Author

Thanks @rkirsling, @bakkot, @devsnek, and @caiolima for the reviews!

@leobalter leobalter merged commit 1affd0c into tc39:master Jul 23, 2019
@leobalter leobalter deleted the bigint-legacy branch July 23, 2019 05:41
leobalter added a commit that referenced this pull request Jul 23, 2019
@leobalter
Copy link
Member Author

I merged it too early. The non octal parts need consensus from TC39. I'll hold on reverting as the meeting starts tomorrow, let's see what should be done to fix this here.

@bakkot
Copy link
Contributor

bakkot commented Jul 24, 2019

For posterity: the change to the proposal got consensus, so these tests need not be reverted.

mysticatea added a commit to mysticatea/acorn that referenced this pull request Dec 8, 2019
marijnh pushed a commit to acornjs/acorn that referenced this pull request Dec 9, 2019
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.

4 participants