Bug 200244

Summary: Legacy decimal literals should not permit separators after dot or exponent indicator
Product: WebKit Reporter: Ross Kirsling <ross.kirsling>
Component: JavaScriptCoreAssignee: Ross Kirsling <ross.kirsling>
Status: RESOLVED CONFIGURATION CHANGED    
Severity: Normal CC: darin, ews-watchlist, keith_miller, mark.lam, msaboff, saam, tzagallo
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=199984
Attachments:
Description Flags
Patch darin: review+

Ross Kirsling
Reported 2019-07-29 14:31:23 PDT
Legacy decimal literals should not permit separators after dot or exponent indicator
Attachments
Patch (6.83 KB, patch)
2019-07-29 14:32 PDT, Ross Kirsling
darin: review+
Ross Kirsling
Comment 1 2019-07-29 14:32:54 PDT
Ross Kirsling
Comment 2 2019-07-29 14:35:37 PDT
Follow-up to bug 199984 -- we're prohibiting separators in the integral part but we shouldn't permit them anywhere. (I'd forgotten that legacy decimal literals could even have fractional / exponent parts, haha.)
Ross Kirsling
Comment 3 2019-08-07 16:53:38 PDT
Thanks for the review! Turns out I misunderstood the status quo and this is still an open question on the spec side -- I will either land this or resolve it as invalid based on the outcome of https://github.com/tc39/proposal-numeric-separator/issues/49.
Ross Kirsling
Comment 4 2021-02-09 14:18:46 PST
Closing; ultimately, the existing behavior was confirmed to be spec-correct.
Note You need to log in before you can comment on or make changes to this bug.