aboutsummaryrefslogtreecommitdiff
level_zero: {
    options = {
        keep_fnames: true,
    }
    mangle = {
        keep_fnames: true
    }
    input: {
        function f(x) {
            function n(a) {
                return a * a;
            }
            return function() {
                return x;
            };
        }
    }
    expect: {
        function f(r) {
            function n(n) {
                return n * n;
            }
            return function() {
                return r;
            };
        }
    }
}

level_one: {
    options = {
        keep_fnames: true,
    }
    mangle = {
        keep_fnames: true
    }
    input: {
        function f(x) {
            return function() {
                function n(a) {
                    return a * a;
                }
                return x(n);
            };
        }
    }
    expect: {
        function f(r) {
            return function() {
                function n(n) {
                    return n * n;
                }
                return r(n);
            };
        }
    }
}

level_two: {
    options = {
        keep_fnames: true,
    }
    mangle = {
        keep_fnames: true
    }
    input: {
        function f(x) {
            return function() {
                function r(a) {
                    return a * a;
                }
                return function() {
                    function n(a) {
                        return a * a;
                    }
                    return x(n);
                };
            };
        }
    }
    expect: {
        function f(t) {
            return function() {
                function r(n) {
                    return n * n;
                }
                return function() {
                    function n(n) {
                        return n * n;
                    }
                    return t(n);
                };
            };
        }
    }
}

level_three: {
    options = {
        keep_fnames: true,
    }
    mangle = {
        keep_fnames: true
    }
    input: {
        function f(x) {
            return function() {
                function r(a) {
                    return a * a;
                }
                return [
                    function() {
                        function t(a) {
                            return a * a;
                        }
                        return t;
                    },
                    function() {
                        function n(a) {
                            return a * a;
                        }
                        return x(n);
                    }
                ];
            };
        }
    }
    expect: {
        function f(t) {
            return function() {
                function r(n) {
                    return n * n;
                }
                return [
                    function() {
                        function t(n) {
                            return n * n;
                        }
                        return t;
                    },
                    function() {
                        function n(n) {
                            return n * n;
                        }
                        return t(n);
                    }
                ];
            };
        }
    }
}
defined. (<openssh-configuration>)[max-connections]: New field. * gnu/tests/ssh.scm (run-ssh-test)["sshd PID"]: Adjust to cope with PID-FILE being #f. * gnu/tests/ssh.scm (%test-openssh): Pass #f as the 'pid-file' argument. * doc/guix.texi (Networking Services): Document 'max-connections'. Ludovic Courtès 2022-03-10services: openssh: Change 'authorized-keys' accessor name....* gnu/services/ssh.scm (<openssh-configuration>)[authorized-keys]: Rename accessor to 'openssh-configuration-authorized-keys'. (openssh-activation, extend-openssh-authorized-keys): Adjust accordingly. Ludovic Courtès 2022-03-10services: openssh: Add 'generate-host-keys?' field....* gnu/services/ssh.scm (<openssh-configuration>)[generate-host-keys?]: New field. (openssh-activation): Honor it. * doc/guix.texi (Networking Services): Document it. Ludovic Courtès