From c12486bab4e445144968635e16b96943ed98b8c1 Mon Sep 17 00:00:00 2001 From: "Alex Lam S.L" Date: Tue, 12 Jan 2021 01:12:30 +0000 Subject: fix corner case in `rests` (#4539) fixes #4538 --- test/compress/rests.js | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'test/compress') diff --git a/test/compress/rests.js b/test/compress/rests.js index f3c2af95..e322112c 100644 --- a/test/compress/rests.js +++ b/test/compress/rests.js @@ -525,3 +525,22 @@ issue_4525_2: { expect_stdout: "PASS" node_version: ">=6" } + +issue_4538: { + options = { + rests: true, + unused: true, + } + input: { + console.log(typeof function f(...a) { + return a.p, f; + }()()); + } + expect: { + console.log(typeof function f(...a) { + return a.p, f; + }()()); + } + expect_stdout: "function" + node_version: ">=6" +} -- cgit v1.2.3 lue='switch'/> Wojtek's customized Guix
aboutsummaryrefslogtreecommitdiff
path: root/README
AgeCommit message (Expand)Author
2015-10-06build: Automatically determine libgcrypt's file name....* m4/guix.m4 (GUIX_LIBGCRYPT_LIBDIR): New macro. * configure.ac: Use it when no --with-libgcrypt-* option was passed. * README: Do not recommend --with-libgcrypt-prefix. Co-authored-by: 宋文武 <iyzsong@gmail.com> Ludovic Courtès
2015-06-14doc: Move most 'HACKING' informations into the manual....* HACKING (Contributing): New section. (Building from Git, The Perfect Setup, Coding Style, Submitting Patches): Move to ... * doc/guix.texi (Running Guix Before It Is Installed): Likewise. * doc/contributing.texi: ... here. New file. * doc.am (EXTRA_DIST): Use it. * README (Installation): Adapt to it. * configure.ac (DOT): Likewise. Mathieu Lirzin
2015-06-04Document 'guix environment guix' in README....* README (Installing Guix from Guix): Replace complicated instructions with 'guix environment guix'. Ludovic Courtès
2015-05-10doc: Mention GNU Make as a requirement....* README (Requirements): Add GNU Make. * doc/guix.texi (Requirements): Likewise. Ludovic Courtès
2015-05-10build: Require Guile >= 2.0.7....* configure.ac: Require guile-2.0 >= 2.0.7. * README: Adjust accordingly. * doc/guix.texi (Requirements): Likewise. Ludovic Courtès
2014-10-27doc: Add a note about optional GnuTLS dependency....* README (Requirements): add a note about 'guix download''s GnuTLS dependency. * doc/guix.texi (Requirements): Likewise. Co-authored-by: Ludovic Courtès <ludo@gnu.org> Ian Denhardt
2014-10-06doc: Mention optional dependency on Guile-JSON....* README (Requirements): Add Guile-JSON. * doc/guix.texi (Requirements): Likewise. Ludovic Courtès
2014-09-02doc: Update "Installing Guix from Guix"....* README: Make 'guix package' command line more readable. Mention --localstatedir. Ludovic Courtès
2014-08-26doc: Replace /nix/store with /gnu/store in README.... * README update anachronistic reference to /nix/store John Darrington
2014-04-10doc: Mention 'gcc-toolchain' in README....* README (Installing Guix from Guix): Use "gcc-toolchain" instead of "gcc,binutils,ld-wrapper,glibc". Ludovic Courtès
2013-11-16doc: Improve "Installing Guix from Guix" section....Reported by Mark H. Weaver <mhw@netris.org>. * README (Installing Guix from Guix): Explicitly mention $PATH separately. Mention $ACLOCAL_PATH, not $ACLOCAL. Give the exact command to install the dependencies. Remove mention of $GUIX_LD_WRAPPER_ALLOW_IMPURITIES, which is no longer needed. Ludovic Courtès
2013-07-19doc: Improve build instructions in README and HACKING....* README (Requirements): Remove Nixpkgs. Remove mentions of building from Git. (Installation): Refer to the manual. * HACKING: List requirements for when building from Git. Remove the `dot: Command not found' error. Ludovic Courtès
2013-07-17doc: Mark 2.0.5 as being the minimum Guile version....* doc/guix.texi (Requirements): Require Guile 2.0.5+. * README: Ditto. Ludovic Courtès
2013-06-12doc: Describe the build procedure in more detail....* README (Requirements): Replace "autoreconf" by "bootstrap". (Installing Guix from Guix): Augment and update. Konrad Hinsen