aboutsummaryrefslogtreecommitdiff
dont_reuse_prop: {
    mangle = {
        properties: {
            regex: /asd/,
        },
    }
    input: {
        "aaaaaaaaaabbbbb";
        var obj = {};
        obj.a = 123;
        obj.asd = 256;
        console.log(obj.a);
    }
    expect: {
        "aaaaaaaaaabbbbb";
        var obj = {};
        obj.a = 123;
        obj.b = 256;
        console.log(obj.a);
    }
    expect_stdout: "123"
}

unmangleable_props_should_always_be_reserved: {
    mangle = {
        properties: {
            regex: /asd/,
        },
    }
    input: {
        "aaaaaaaaaabbbbb";
        var obj = {};
        obj.asd = 256;
        obj.a = 123;
        console.log(obj.a);
    }
    expect: {
        "aaaaaaaaaabbbbb";
        var obj = {};
        obj.b = 256;
        obj.a = 123;
        console.log(obj.a);
    }
    expect_stdout: "123"
}
79'>nls: Internationalize command synopses as shown in 'guix help'....This is a followup to 3794ce93be8216d8378df7b808ce7f53b1e05a53. * po/guix/Makevars (XGETTEXT_OPTIONS): Add '--keyword=synopsis'. Ludovic Courtès 2020-09-29nls: Fix copyright and bug address in pot files....* po/guix/Makevars: Fix COPYRIGHT_HOLDER and MSGID_BUGS_ADDRESS. * po/packages/Makevars: idem. Julien Lepiller