Bug 200745

Summary: [ESNext][BigInt] LegacyOctals should not allow bigint `n` suffix
Product: WebKit Reporter: Joseph Pecoraro <joepeck>
Component: JavaScriptCoreAssignee: Nobody <webkit-unassigned>
Status: RESOLVED CONFIGURATION CHANGED    
Severity: Normal CC: joepeck, ross.kirsling, ticaiolima, ysuzuki
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 179001    

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
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.