DescriptionCheck for let in lexically bound names for short object literals
An identifier may be parsed in an object literal like {let}, but
this was previously left out of lexical name checking. This patch
adds that check to prohibit code like
let {let} = {let: 1}
BUG=v8:4403
LOG=N
R=adamk
Committed: https://crrev.com/dd24cc33d3c26ef5548efe7967d880cd56b98278
Cr-Commit-Position: refs/heads/master@{#31278}
Patch Set 1 #
Messages
Total messages: 10 (3 generated)
|