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

LESS parser fails on "when" guards ("Please check validity of the block...") #146

Open
seginel opened this issue Jan 28, 2016 · 0 comments

Comments

@seginel
Copy link

seginel commented Jan 28, 2016

The parser fails at strings containing "when" in the following cases:

.someclass {
    & when @red {
        color: @red;
    }
}

.set-bg-color() when @red {
    color: @red;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants