-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Fix Issue #3368: Symbol.species.toString() shouldn't have bracket around the name #3412
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
Conversation
|
Looks like you need to update a few baselines to reflect this change as well. |
|
@MSLaguana The accessor function name needs to have the bracket. toStringTag already have similar pattern and defined propertyId for the function name with [] for all the symbols.. So I updated it to create the accessor with the appropriate name. The debugger baseline will need to be updated :( |
…bracket around the name
|
|
||
| void JavascriptLibrary::AddSpeciesAccessorsToLibraryObject(DynamicObject* object, FunctionInfo * getterFunctionInfo) | ||
| { | ||
| if (scriptContext->GetConfig()->IsES6SpeciesEnabled()) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: species have been enabled since th2. We could get rid of this check.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We probably can do a clean up for all the enabled language feature later.
|
LGTM |
1 similar comment
|
LGTM |
…houldn't have bracket around the name Merge pull request #3412 from curtisman:fix3368
…String() shouldn't have bracket around the name Merge pull request #3412 from curtisman:fix3368
…ol.species.toString() shouldn't have bracket around the name Merge pull request #3412 from curtisman:fix3368
No description provided.