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

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

Issue 2697193007: Report unexpected lexical decl also without destructuring (Closed)
Patch Set: Add brace 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
OLDNEW
1 *%(basename)s:5: SyntaxError: Lexical declaration cannot appear in a single-stat ement context 1 *%(basename)s:5: SyntaxError: Lexical declaration cannot appear in a single-stat ement context
2 with ({}) let [a] = []; 2 with ({}) let [a] = [42];
3 ^^^ 3 ^^^
4 SyntaxError: Lexical declaration cannot appear in a single-statement context 4 SyntaxError: Lexical declaration cannot appear in a single-statement context
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698