Reserve 'let'
authorbarraclough@apple.com <barraclough@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 29 Jan 2012 08:23:48 +0000 (08:23 +0000)
committerbarraclough@apple.com <barraclough@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 29 Jan 2012 08:23:48 +0000 (08:23 +0000)
commitc0def0c784afb11142153d405fdc59f2106033b9
tree6680523e13a31cdf9db8e0bb18d599198a3ca146
parentf51cff3a1c33594e341166de2c430f8486edee38
Reserve 'let'
https://bugs.webkit.org/show_bug.cgi?id=77293

Rubber stamped by Oliver Hunt.

'let' may become a keyword in ES6.  We're going to try experimentally reserving it,
to see if this breaks the web.

Source/JavaScriptCore:

* parser/Keywords.table:

LayoutTests:

* fast/js/keywords-and-reserved_words-expected.txt:
* fast/js/reserved-words-as-property-expected.txt:
* fast/js/reserved-words-strict-expected.txt:
* fast/js/script-tests/keywords-and-reserved_words.js:
* fast/js/script-tests/reserved-words-as-property.js:
* fast/js/script-tests/reserved-words-strict.js:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@106198 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/fast/js/keywords-and-reserved_words-expected.txt
LayoutTests/fast/js/reserved-words-as-property-expected.txt
LayoutTests/fast/js/reserved-words-strict-expected.txt
LayoutTests/fast/js/script-tests/keywords-and-reserved_words.js
LayoutTests/fast/js/script-tests/reserved-words-as-property.js
LayoutTests/fast/js/script-tests/reserved-words-strict.js
Source/JavaScriptCore/ChangeLog
Source/JavaScriptCore/parser/Keywords.table