From b10f06ada3851300595ceefd7419bb136c7e6f33 Mon Sep 17 00:00:00 2001 From: Thomas Wood Date: Wed, 15 Jul 2015 20:31:49 +0100 Subject: [PATCH] Fix 11.13.1-4-29gs.js incorrect comment explanation SyntaxError => TypeError for writing to a non-writeable field. Fixes #372 --- test/language/expressions/assignment/11.13.1-4-29gs.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/language/expressions/assignment/11.13.1-4-29gs.js b/test/language/expressions/assignment/11.13.1-4-29gs.js index bd9dc61eff..9b130cb2e4 100644 --- a/test/language/expressions/assignment/11.13.1-4-29gs.js +++ b/test/language/expressions/assignment/11.13.1-4-29gs.js @@ -7,7 +7,7 @@ /*--- es5id: 11.13.1-4-29gs description: > - Strict Mode - SyntaxError is thrown if the identifier 'Math.PI' + Strict Mode - TypeError is thrown if the identifier 'Math.PI' appears as the LeftHandSideExpression of simple assignment(=) negative: . flags: [onlyStrict]