From d538a732501f6654ce359ae3ee44a55a873c6a7d Mon Sep 17 00:00:00 2001 From: "Alex Lam S.L" Date: Tue, 14 May 2019 05:26:40 +0800 Subject: enhance `side_effects` (#3410) --- test/compress/pure_getters.js | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) (limited to 'test/compress/pure_getters.js') diff --git a/test/compress/pure_getters.js b/test/compress/pure_getters.js index 61ce8a92..b6e42f9d 100644 --- a/test/compress/pure_getters.js +++ b/test/compress/pure_getters.js @@ -1161,3 +1161,29 @@ collapse_rhs_lhs: { } expect_stdout: "1 3" } + +drop_arguments: { + options = { + pure_getters: "strict", + side_effects: true, + } + input: { + (function() { + arguments.slice = function() { + console.log("PASS"); + }; + arguments[42]; + arguments.length; + arguments.slice(); + })(); + } + expect: { + (function() { + arguments.slice = function() { + console.log("PASS"); + }; + arguments.slice(); + })(); + } + expect_stdout: "PASS" +} -- cgit v1.2.3 f='/guix/'>summaryrefslogtreecommitdiff
path: root/po/guix
AgeCommit message (Collapse)Author
2024-02-29nls: Update translations.Florian Pelz
Change-Id: Ic1506db5813880153b6def005011618dc4529e8f
2024-02-01nls: Update translations.Florian Pelz
Change-Id: I42b5d41bdd5cd1b096c977e132b7a85992223402
2024-01-28home: Add home-dotfiles-service.Giacomo Leidi
* gnu/home/service/dotfiles.scm: New file; * gnu/local.mk (GNU_SYSTEM_MODULES): Add it. * po/guix/POTFILES.in: Add it. * doc/guix.texi (Essential Home Services): Document it. Change-Id: I6769169cfacefc3842faa5b31bee081c56c28743 Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2024-01-01nls: Update translations.Florian Pelz
Change-Id: Ib407fd37896cc8653f5bfb1f76dba9dc775c8c10
2023-12-01nls: Update translations.Florian Pelz
* po/guix/ca.po: New file. * po/guix/LINGUAS: Add ca.$ Change-Id: Ibae3f58ba702d7c5a4fafdd59a19f70aa8e18212
2023-10-31nls: Update translations.Florian Pelz
Change-Id: I432aec0ea31ead192d6444c96dc42038f5c7ab9a
2023-08-31nls: Update translations.Florian Pelz
2023-07-31nls: Update translations.Florian Pelz
2023-06-30nls: Update translations.Florian Pelz
* po/packages/ja.po: New file. * po/packages/LINGUAS: Add it.
2023-06-18Add 'guix locate'.Ludovic Courtès
* guix/scripts/locate.scm, tests/guix-locate.sh: New files. * Makefile.am (MODULES): Add 'guix/scripts/locate.scm'. (SH_TESTS): Add 'tests/guix-locate.sh'. * po/guix/POTFILES.in: Add it. * doc/guix.texi (Invoking guix locate): New node. Co-authored-by: Antoine R. Dumont <antoine.romain.dumont@gmail.com>
2023-05-31nls: Update translation keys for guix gc.Remco van 't Veer
* po/*/*.po (guix/scripts/gc.scm): Round MiBs in user feedback. Signed-off-by: Florian Pelz <pelzflorian@pelzflorian.de>
2023-05-31nls: Update translations.Florian Pelz
* doc/guix-cookbook.texi (Top): Mention Slovak.
2023-04-08nls: Make sure gnu/home/services/*.scm files are translatable.Ludovic Courtès
* po/guix/POTFILES.in: Add missing gnu/home/services/*.scm files.
2023-03-16gnu: home: services: Add home-kodi-service-type.Jan (janneke) Nieuwenhuizen
* gnu/home/services/media.scm: New file. * gnu/local.mk (GNU_SYSTEM_MODULES): Add it. * po/guix/POTFILES.in: Likewise. * doc/guix.texi (Media Home Services): Document it in new subsection.
2023-03-16gnu: home: services: Add home-znc-service-type.Jan (janneke) Nieuwenhuizen
* gnu/home/services/messaging.scm: New file. * gnu/local.mk (GNU_SYSTEM_MODULES): Add it. * po/guix/POTFILES.in: Likewise. * doc/guix.texi (Messaging Home Services): Document it in new subsection.
2023-03-07nls: Fix more Texinfo Italiano.Julien Lepiller
po/guix/it.po: Fix `@esempio`, `@sempio`, `@fine`.
2023-03-07nls: Update translations.Julien Lepiller
2023-02-26nls: Fix more Texinfo Italiano.Tobias Geerinckx-Rice
* po/guix/it.po: Fix ‘@opzione’, ‘@comando’.
2023-02-26nls: Fix typo in Italian translation.Tobias Geerinckx-Rice
I will, of course, fix this in Weblate or find someone who can, but this currently breaks ‘guix system search cups’. * po/guix/it.po: Fix ‘@dnf’ typo. Reported by tux_life in #guix: https://issues.guix.gnu.org/61961
2023-01-05nls: Update translations.Julien Lepiller
* po/guix/ka.po: New file. * po/guix/LINGUAS: Add it. * po/packages/uk.po: New file. * po/packages/LINGUAS: Add it.