iife_boolean_context: { options = { booleans: true, evaluate: true, } input: { console.log(function() { return Object(1) || false; }() ? "PASS" : "FAIL"); console.log(function() { return [].length || true; }() ? "PASS" : "FAIL"); } expect: { console.log(function() { return Object(1); }() ? "PASS" : "FAIL"); console.log(function() { return [].length, 1; }() ? "PASS" : "FAIL"); } expect_stdout: [ "PASS", "PASS", ] expect_warnings: [ "WARN: Dropping side-effect-free || [test/compress/booleans.js:2,19]", "WARN: Boolean || always true [test/compress/booleans.js:5,19]", ] } issue_3465_1: { options = { booleans: true, } input: { console.log(function(a) { return typeof a; }() ? "PASS" : "FAIL"); } expect: { console.log(function(a) { return 1; }() ? "PASS" : "FAIL"); } expect_stdout: "PASS" } issue_3465_2: { options = { booleans: true, } input: { console.log(function f(a) { if (!a) console.log(f(42)); return typeof a; }() ? "PASS" : "FAIL"); } expect: { console.log(function f(a) { if (!a) console.log(f(42)); return typeof a; }() ? "PASS" : "FAIL"); } expect_stdout: [ "number", "PASS", ] } issue_3465_3: { options = { booleans: true, passes: 2, unused: true, } input: { console.log(function f(a) { return typeof a; }() ? "PASS" : "FAIL"); } expect: { console.log(function(a) { return 1; }() ? "PASS" : "FAIL"); } expect_stdout: "PASS" } issue_2737_2: { options = { booleans: true, inline: true, reduce_vars: true, unused: true, } input: { (function(bar) { for (;bar();) break; })(function qux() { return console.log("PASS"), qux; }); } expect: { (function(bar) { for (;bar();) break; })(function() { return console.log("PASS"), 1; }); } expect_stdout: "PASS" } issue_3658: { options = { booleans: true, evaluate: true, reduce_vars: true, } input: { console.log(function f() { console || f(); return "PASS"; }()); } expect: { console.log(function f() { console || f(); return "PASS"; }()); } expect_stdout: "PASS" } issue_3690: { options = { booleans: true, unused: true, } input: { console.log(function(a) { return function() { return a = [ this ]; }() ? "PASS" : "FAIL"; }()); } expect: { console.log(function(a) { return function() { return 1; }() ? "PASS" : "FAIL"; }()); } expect_stdout: "PASS" } dacb529d41'>gnu: help2man: Update to 1.47.3....* gnu/packages/man.scm (help2man): Update to 1.47.3. Efraim Flashner 2015-10-29gnu: Move gdbm to (gnu packages databases)....* gnu/packages/gdbm.scm: Remove. * gnu/packages/databases.scm (gdbm): New variable, from gdbm.scm. * gnu/packages/avahi.scm, gnu/packages/cyrus-sasl.scm, gnu/packages/guile.scm, gnu/packages/mail.scm, gnu/packages/man.scm, gnu/packages/pulseaudio.scm, gnu/packages/python.scm, gnu/packages/ruby.scm, gnu/packages/sawfish.scm: Adjust accordingly. * gnu-system.am (GNU_SYSTEM_MODULES): Remove gdbm.scm. Ludovic Courtès 2015-10-21gnu: help2man: Update to 1.47.2....* gnu/packages/man.scm (help2man): Update to 1.47.2. Ludovic Courtès 2015-07-21gnu: man-db: Update to 2.7.1....* gnu/packages/man.scm (man-db): Update to 2.7.1. [arguments]: Add '--with-systemdtmpfilesdir' to configure flags. Alex Kost 2015-07-21gnu: libpipeline: Update to 1.4.0....* gnu/packages/man.scm (libpipeline): Update to 1.4.0. Alex Kost 2015-07-21gnu: man-db: Pass --with-col to configure....* gnu/packages/man.scm (man-db)[inputs]: Add 'util-linux'. [arguments]: Add '--with-col' to configure flags. Alex Kost 2015-06-29gnu: help2man: Update to 1.47.1....* gnu/packages/man.scm (help2man): Update to 1.47.1. Ludovic Courtès 2015-05-03gnu: help2man: Update to 1.46.6....* gnu/packages/man.scm (help2man): Update to 1.46.6. Ludovic Courtès