Closed carterworks closed 5 years ago
Thanks for reporting the bug. I'll take care of this tomorrow.
This is actually a bug from Stylus compiler (out of my scope), where the compiler generates an extra Expression
node in a nested Expression
.
However, I can manage to find a workaround and patch this in Stylus Supremacy. Please upgrade to version 2.12.7.
Thanks for getting a work around done so quickly. Do you think an issue on the Stylus repo would be appropriate?
Formatting the code adds an extra set of parenthesis, without end.
Here's a test case
Formatting it three times results in this:
When the string interpolation argument are not wrapped in parenthesis, like the block below, this bug doesn't happen: