Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

napi: change napi_instanceof() to use Symbol.hasInstance #185

Conversation

gabrielschulhof
Copy link
Collaborator

Fixes #182

gabrielschulhof pushed a commit to gabrielschulhof/abi-stable-node that referenced this pull request Mar 22, 2017
boingoing

This comment was marked as off-topic.

jasongin

This comment was marked as off-topic.

@gabrielschulhof
Copy link
Collaborator Author

gabrielschulhof pushed a commit to gabrielschulhof/abi-stable-node that referenced this pull request Mar 23, 2017
@gabrielschulhof
Copy link
Collaborator Author

@gabrielschulhof
Copy link
Collaborator Author

@jasongin and @boingoing could you please take another look?

@gabrielschulhof
Copy link
Collaborator Author

I realized I wasn't actually asserting the checks affected by Symbol.hasInstance. I have now fixed that.

https://ci.nodejs.org/view/All/job/node-test-commit-linux-abi/86/

@gabrielschulhof
Copy link
Collaborator Author

... along with a build warning in test/addons-napi/test_buffer.c.

jasongin

This comment was marked as off-topic.

boingoing

This comment was marked as off-topic.

boingoing

This comment was marked as off-topic.

@gabrielschulhof gabrielschulhof merged commit c379d22 into nodejs:api-prototype-8.x Mar 23, 2017
@gabrielschulhof gabrielschulhof deleted the use-symbol-instanceof branch March 23, 2017 19:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants