[Webkit-unassigned] [Bug 179001] [ESNext] Implement support for BigInt

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Nov 28 20:12:37 PST 2020


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

Yusuke Suzuki <ysuzuki at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ysuzuki at apple.com

--- Comment #3 from Yusuke Suzuki <ysuzuki at apple.com> ---
(In reply to John Leidegren from comment #2)
> I would like to add to this that BigInts don't appear to work as keys in ES
> Collections. I just took Safari 14 for a spin and ran into the most bizzare
> bugs where I could insert multiple entries with the same bigint keys in a
> Map.
> 
> For example:
> 
> const m = new Map()
> m.set(1n, 123)
> m.set(1n, 456)
> 
> console.log(m)
> Map {1n => 123, 1n => 456}
> 
> get(1n)
> undefined
> 
> etc.
> 
> Not sure what's up but it is broken.

This is fixed in https://trac.webkit.org/changeset/267373/webkit/. You can try it in STP 115 or later :)

-- 
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/20201129/d23b8153/attachment.htm>


More information about the webkit-unassigned mailing list