From da8c428a077df6c579f26de950dc9f1028f22bf0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A1bio=20Santos?= Date: Fri, 23 Oct 2015 18:59:07 +0100 Subject: [PATCH] Just making sure that concise methods are separated by commas. When classes come, they won't be necessary. --- test/compress/harmony.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/test/compress/harmony.js b/test/compress/harmony.js index 718a547a..19628be4 100644 --- a/test/compress/harmony.js +++ b/test/compress/harmony.js @@ -142,10 +142,11 @@ concise_methods: { y = { foo([{a}]) { return a; - } + }, + bar(){} } } - expect_exact: "x={foo(a,b){return x}};y={foo([{a}]){return a}};" + expect_exact: "x={foo(a,b){return x}};y={foo([{a}]){return a},bar(){}};" } number_literals: {