Closed averycrespi closed 5 years ago
import a let b = 1 - (2-a) export b
produces b=1-2-a, but should produce b=1-2+a, or at least b=1-(2-a)
b=1-2-a
b=1-2+a
b=1-(2-a)
Problem with formatter: when formatting non-commutative operations, parenthesized should also be added if precedence is equal
Should also add formatter tests at same time
produces
b=1-2-a
, but should produceb=1-2+a
, or at leastb=1-(2-a)