From 37f4f56752e0672ff8b76b1618266eae628088f7 Mon Sep 17 00:00:00 2001 From: "Alex Lam S.L" Date: Sun, 6 Dec 2020 05:59:04 +0000 Subject: fix corner case in `properties` (#4330) fixes #4329 --- test/compress/spread.js | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) (limited to 'test/compress') diff --git a/test/compress/spread.js b/test/compress/spread.js index b7a6f753..01818dc3 100644 --- a/test/compress/spread.js +++ b/test/compress/spread.js @@ -369,3 +369,33 @@ unused_var_side_effects: { expect_stdout: "PASS" node_version: ">=8" } + +issue_4329: { + options = { + properties: true, + } + input: { + console.log({ + ...{ + get 0() { + return "FAIL"; + }, + ...{ + 0: "PASS", + }, + }, + }[0]); + } + expect: { + console.log({ + ...{ + get 0() { + return "FAIL"; + }, + [0]: "PASS", + }, + }[0]); + } + expect_stdout: "PASS" + node_version: ">=8" +} -- cgit v1.2.3 href='/guix/refs/?id=684c718e6a2fe47ea0f44f112cc2edf40df6a158'>refslogtreecommitdiff
path: root/gnu/services/nfs.scm
AgeCommit message (Expand)Author
2022-05-03services: pipefs: Correctly handle lack of extensions....Ludovic Courtès
2022-04-29services: Add missing 'description' fields....Ludovic Courtès
2022-03-17Revert "services: nfs: Define rpcbind-shepherd-service at the top level."...Maxim Cournoyer
2022-03-17services: nfs: Define rpcbind-shepherd-service at the top level....Maxim Cournoyer
2021-12-23services: nfs: Fix statd and mountd ports....Mathieu Othacehe