From ff769780ea1a0601d439e8bbfe48140214c0dec7 Mon Sep 17 00:00:00 2001 From: Sasha Koss Date: Fri, 16 Jan 2015 20:09:07 +0530 Subject: [PATCH] Turn on playground for "obj ?= 2" MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Without it fail with different issue, doesn’t connected to real case: `Got error message: Unexpected token (1:5)`. --- test/tests-6to5-playground.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/tests-6to5-playground.js b/test/tests-6to5-playground.js index 841d6f78c4..d0d5b0af8a 100644 --- a/test/tests-6to5-playground.js +++ b/test/tests-6to5-playground.js @@ -197,7 +197,9 @@ test("var foo = { memo bar() {} };", // Memoization assignment operator -testFail("obj ?= 2;", "You can only use member expressions in memoization assignment (1:0)"); +testFail("obj ?= 2;", "You can only use member expressions in memoization assignment (1:0)", { + playground: true +}); test("obj.x ?= 2;", { type: "Program",