-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix incorrect error when calling non-existent symbol property
We threw 'Object does not support ToString' when trying to call a symbol property on an object when that property didn't exist. This happened because we try to do a toString conversion on the index var for the error message string, but Symbol objects do not support toString via JavascriptConversion::ToString(). Fix it by special casing symbol properties and directly calling the static JavascriptSymbol::ToString method to get a useful string. Fixes #1409
- Loading branch information
Showing
2 changed files
with
20 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters