Bug 200244 - Legacy decimal literals should not permit separators after dot or exponent indicator
Summary: Legacy decimal literals should not permit separators after dot or exponent in...
Status: RESOLVED CONFIGURATION CHANGED
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Ross Kirsling
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-07-29 14:31 PDT by Ross Kirsling
Modified: 2021-02-09 14:18 PST (History)
7 users (show)

See Also:


Attachments
Patch (6.83 KB, patch)
2019-07-29 14:32 PDT, Ross Kirsling
darin: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ross Kirsling 2019-07-29 14:31:23 PDT
Legacy decimal literals should not permit separators after dot or exponent indicator
Comment 1 Ross Kirsling 2019-07-29 14:32:54 PDT
Created attachment 375104 [details]
Patch
Comment 2 Ross Kirsling 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.)
Comment 3 Ross Kirsling 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.
Comment 4 Ross Kirsling 2021-02-09 14:18:46 PST
Closing; ultimately, the existing behavior was confirmed to be spec-correct.