WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED CONFIGURATION CHANGED
Bug 200745
[ESNext][BigInt] LegacyOctals should not allow bigint `n` suffix
https://bugs.webkit.org/show_bug.cgi?id=200745
Summary
[ESNext][BigInt] LegacyOctals should not allow bigint `n` suffix
Joseph Pecoraro
Reported
2019-08-14 17:04:00 PDT
LegacyOctals should not allow bigint `n` suffix
>>> 0008n
=> Should SyntaxError
>>> 0o008n
=> Should SyntaxError
>>> 0001n
=> Should SyntaxError
>>> 0o0001n
=> Should work Currently they all produce numbers in JavaScriptCore. test262: test/language/literals/bigint/non-octal-like-invalid-0008n.js
Attachments
Add attachment
proposed patch, testcase, etc.
Ross Kirsling
Comment 1
2019-08-14 17:37:04 PDT
I'm confused; this is working to spec as of
r247845
-- do you have an old build lingering around?
Joseph Pecoraro
Comment 2
2019-08-14 21:40:27 PDT
(In reply to Ross Kirsling from
comment #1
)
> I'm confused; this is working to spec as of
r247845
-- do you have an old > build lingering around?
Yes! I was running an out of date version. Closing, thanks!
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug