aboutsummaryrefslogtreecommitdiff
path: root/test/compress/issue-782.js
blob: 2f72d1ab6e1f86b6c39d3b7b26d74eac0e1d6665 (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
remove_redundant_sequence_items: {
    options = { side_effects: true };
    input: {
        (0, 1, eval)();
        (0, 1, logThis)();
        (0, 1, _decorators.logThis)();
    }
    expect: {
        (0, eval)();
        logThis();
        (0, _decorators.logThis)();
    }
}

dont_remove_this_binding_sequence: {
    options = { side_effects: true };
    input: {
        (0, eval)();
        (0, logThis)();
        (0, _decorators.logThis)();
    }
    expect: {
        (0, eval)();
        logThis();
        (0, _decorators.logThis)();
    }
}