nan
nan copied to clipboard
Make symbols work with NAN_PROPERTY_GETTER
Would it be possible to add a macro to have GenericNamedPropertyGetterCallback
redirect to NamedPropertyGetterCallback
so it doesn't throw an error when looking up a property with a symbol?
nodejs/node#15000
Without looking into it further, I would guess not. For legacy reasons, NAN does not support Symbols.
On August 24, 2017 9:16:15 PM GMT+03:00, Steve Lam [email protected] wrote:
Would it be possible to add a macro to have
GenericNamedPropertyGetterCallback
redirect toNamedPropertyGetterCallback
so it doesn't throw an error when looking up a property with a symbol?nodejs/node#15000
We could once we drop support for node.js < 4, ref #676.