From 711f88dcb49bc0daf0548f3ec240f680e05dfc27 Mon Sep 17 00:00:00 2001 From: "Alex Lam S.L" Date: Wed, 8 Mar 2017 18:37:32 +0800 Subject: scan assignment value in drop_unused() (#1578) those were not optimised for `unused` before, which made it necessary for `reduce_vars` to have separate steps for `keep_fnames` docs update by @kzc closes #1577 --- test/compress/drop-unused.js | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) (limited to 'test') diff --git a/test/compress/drop-unused.js b/test/compress/drop-unused.js index 20dab3b9..9c960561 100644 --- a/test/compress/drop-unused.js +++ b/test/compress/drop-unused.js @@ -700,3 +700,28 @@ issue_1539: { } } } + +vardef_value: { + options = { + keep_fnames: false, + reduce_vars: true, + unused: true, + } + input: { + function f() { + function g(){ + return x(); + } + var a = g(); + return a(42); + } + } + expect: { + function f() { + var a = function(){ + return x(); + }(); + return a(42); + } + } +} -- cgit v1.2.3 /'>summaryrefslogtreecommitdiff
path: root/gnu/installer/substitutes.scm
les with version 3 manifests....
AgeCommit message (Expand)Author
2020-12-11install: Discover local substitute servers....Mathieu Othacehe
Ludovic Courtès
2022-07-01profiles: Do not repeat entries in 'manifest' file....Ludovic Courtès
2022-07-01tests: Augment profile collision test....Ludovic Courtès
2022-05-31gnu: Remove python2-matplotlib....Maxim Cournoyer
2022-02-11tests: Pass #:guile to 'computed-file' & co....Ludovic Courtès