aboutsummaryrefslogtreecommitdiff
path: root/test/compress/issue-267.js
blob: 4f478d25ebf88aac512348984d8fa4834b6afcc8 (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
issue_267: {
    options = {
        comparisons: true,
    }
    input: {
        x = a % b / b * c * 2;
        x = a % b * 2
    }
    expect: {
        x = a % b / b * c * 2;
        x = a % b * 2;
    }
}
=templatifyjs&id=35a849dc48adf4a7318481f0ff540375ec0e43b2'>collapse assignment with adjacent subsequent usage (#1553)...- consolidate `cascade` optimisations - support ++/-- postfixes - remove redundant optimisation identified in #1460 fixes #368Alex Lam S.L