Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(147)

Side by Side Diff: test/message/let-lexical-declaration-in-single-statement.out

Issue 2694003002: Raise SyntaxError on let [ starting an ExpressionStatement (Closed)
Patch Set: test/message + improve message Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « test/message/let-lexical-declaration-in-single-statement.js ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 *%(basename)s:5: SyntaxError: Lexical declaration cannot appear in a single-stat ement context
2 with ({}) let [a] = [];
3 ^^^
4 SyntaxError: Lexical declaration cannot appear in a single-statement context
OLDNEW
« no previous file with comments | « test/message/let-lexical-declaration-in-single-statement.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698