aboutsummaryrefslogtreecommitdiff
path: root/test/input/reduce/setter.reduced.js
blob: e0a3c626825d9ca7dbda55c5d6506dde9f79c529 (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// (beautified)
console.log(function f(a) {
    ({
        set p(v) {
            f++;
        }
    });
    return f.length;
}());
// output: 1
// 
// minify: 0
// 
// options: {
//   "compress": {
//     "keep_fargs": false,
//     "unsafe": true
//   },
//   "mangle": false
// }
Rename to ... (main): ... this. Call 'augment-load-paths!'. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Mathieu Lirzin 2018-01-23build: Expand ‘scripts/guix’ at Make time....This moves the complexity of Autotools variable expansion outside of the application code. * scripts/guix.in (config-lookup): Delete. (maybe-augment-load-paths!, run-guix-main): Use fully expanded variables instead of calling ‘config-lookup’. * configure.ac: Don't use AC_CONFIG_FILES for ‘scripts/guix’. Use AC_PROG_SED. * Makefile.am (scripts/guix): New rule. (do_subst): New variable. (CLEANFILES, EXTRA_DIST): Adapt. Co-authored-by: Ludovic Courtès <ludo@gnu.org> Mathieu Lirzin