Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Negative variables are not compiled after update #122

Open
sn3p opened this issue Apr 30, 2020 · 1 comment
Open

Negative variables are not compiled after update #122

sn3p opened this issue Apr 30, 2020 · 1 comment
Labels

Comments

@sn3p
Copy link

sn3p commented Apr 30, 2020

Did something change regarding the compilation of negative variables?

In v0.14.0 this:

.foo {
  --width: 100px;
  with: -var(--width);
}

used to output:

.foo {
  with: -100px;
}

But after updating to v0.17.0 I get:

.foo {
  with: -var(--width);
}

I tried reproducing in the playground, but this still runs on v0.14.0.

@MadLittleMods
Copy link
Owner

Looking at the changelog, this probably broke in v0.15.0 where there were some changes around the regex and balanced matching.

Here is the relevant PR #112

cc @Poetro

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants