[Webkit-unassigned] [Bug 200745] New: [ESNext][BigInt] LegacyOctals should not allow bigint `n` suffix

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Aug 14 17:04:00 PDT 2019


https://bugs.webkit.org/show_bug.cgi?id=200745

            Bug ID: 200745
           Summary: [ESNext][BigInt] LegacyOctals should not allow bigint
                    `n` suffix
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: joepeck at webkit.org
                CC: ticaiolima at gmail.com

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

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20190815/aa90bb77/attachment.html>


More information about the webkit-unassigned mailing list