-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Editorial: remove unused %AggregateErrorPrototype% intrinsic #2124
Conversation
Just realized why none of these aren't auto-linking - https://tc39.es/ecma262/#sec-nativeerror used to dynamically refer to them, but now it uses the dotted intrinsic form. We could save this one for #2056, and leave it now for consistency, or merge this now. Up to yall. |
I suggested this in #2040 (comment), but it was rejected by @chicoxyzzy because of tc39/proposal-promise-any#37 (comment). |
Indeed :-) I did some grepping and couldn't find uses of this one, so I made the PR; but then I realized it was the NativeError magic. |
I'm getting confused by the different comments here. My assumption is that you cannot remove this since it is an undeniable intrinsic. Some objects will be created with |
@caridy i'm not sure why that makes a difference? |
@ljharb thanks for the clarification. It makes perfect sense now! |
This is non-normative since it is not a function, and nothing uses it in this or any other spec. It was mistakenly added in tc39#2040.
23b6f28
to
dede2eb
Compare
This is non-normative since it is not a function, and nothing uses it in this or any other spec. It was mistakenly added in #2040.