dox icon indicating copy to clipboard operation
dox copied to clipboard

WeakMap claims to be implemented on all platforms but it's not available in JS target

Open SmerkyG opened this issue 6 years ago • 5 comments

WeakMap claims to be implemented on all platforms but it's not available in JS target

See https://api.haxe.org/haxe/ds/WeakMap.html

SmerkyG avatar Feb 25 '19 16:02 SmerkyG

This is a general issue with "core api" classes that are not really there on some platforms - they get documented as such. Although nowadays we can probably provide WeakMap for ES6 using the native thing! \o/

nadako avatar Feb 25 '19 17:02 nadako

Wrong repo but yeah, this is a problem...

Simn avatar Feb 25 '19 17:02 Simn

GitHub lets you transfer issues now. :) https://help.github.com/en/articles/transferring-an-issue-to-another-repository

Gama11 avatar Feb 25 '19 17:02 Gama11

neat

Simn avatar Feb 25 '19 17:02 Simn

That's neat on the weakmap for ES6! Sorry for the wrong repo post - wasn't sure where the one was that holds the auto-generated API docs...

SmerkyG avatar Feb 25 '19 20:02 SmerkyG