c6
c6 copied to clipboard
calc() expression reducer
While SASS is interpreing this as it is:
$some: 22;
width: calc(100% - 10px + 20px + $some);
We can reduce the expression if they are the same unit to:
width: calc(100% + 10px + 22);
Add FunctionCall.IsLiteral() method to check if we need to present the function call as literal string.