Skip to content
This repository has been archived by the owner on Feb 1, 2025. It is now read-only.

runtime: Use [[Define]] for the Symbol.toStringTag property #402

Merged
merged 2 commits into from
Jul 22, 2020

Conversation

ExE-Boss
Copy link
Contributor

PR #400 makes it so that once engines start shipping Iterator.prototype[Symbol.toStringTag], then Object.prototype.toString will return [object Iterator] instead of [object Generator] for regenerator’s generator objects.

This fixes that to ensure that it doesn’t happen.

@ExE-Boss ExE-Boss force-pushed the fix/use-define-for-tostringtag branch from 68600b4 to ea5c013 Compare July 22, 2020 00:12
@ExE-Boss ExE-Boss force-pushed the fix/use-define-for-tostringtag branch from ea5c013 to 980ca64 Compare July 22, 2020 01:44
@ExE-Boss ExE-Boss requested a review from benjamn July 22, 2020 01:47
@benjamn
Copy link
Contributor

benjamn commented Jul 22, 2020

@ExE-Boss Can you open that repo/branch for me to push? Also happy to merge and then make my own tweaks.

@ExE-Boss
Copy link
Contributor Author

@benjamn I had sent you an invitation to @EB-Forks.

@benjamn
Copy link
Contributor

benjamn commented Jul 22, 2020

@ExE-Boss Ahh I missed that. Pushed (above)!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants