-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Check for LHS Object-coercibility in MemberExpression
The spec says that if the LHS (base) of a MemberExpression fails CheckObjectCoercible / RequireObjectCoercible that the resulting TypeError should be propagated, which should preven the RHS of an enclosing AssignmentExpression from being evaluated. So do that, even though apparently no one else does (see https://bugs.chromium.org/p/v8/issues/detail?id=7847 and tc39/ecma262#1224).
- Loading branch information
Showing
3 changed files
with
21 additions
and
10 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
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