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

fix(equal): account for Weak* objects #951

Merged
merged 1 commit into from
Jun 7, 2021

Conversation

mfulton26
Copy link
Contributor

  • WeakMap and WeakSet cannot be deeply compared (no size, Symbol.iterator, etc.)
  • WeakRef can be dereferenced

Refs #949

@CLAassistant
Copy link

CLAassistant commented Jun 3, 2021

CLA assistant check
All committers have signed the CLA.

- `WeakMap` and `WeakSet` cannot be deeply compared (no `size`, `Symbol.iterator`, etc.)
- `WeakRef` can be dereferenced

Refs denoland#949
@mfulton26 mfulton26 force-pushed the fix/assertEquals/WeakObjects branch from 1fb89af to e5ceb9d Compare June 3, 2021 16:01
Copy link
Member

@kt3k kt3k left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mfulton26 LGTM. Thanks for your contribution!

@kt3k kt3k merged commit a4c4dc2 into denoland:main Jun 7, 2021
@mfulton26 mfulton26 deleted the fix/assertEquals/WeakObjects branch June 7, 2021 10:48
@maxxturing
Copy link

maxxturing commented Jun 9, 2021

Hi @mfulton26 @kt3k I think this (linked to #949) might have broken something?

I'm getting an error due to 'WeakRef'

denoland/deno#10910

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.

None yet

4 participants