We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
This
.recurse(@n, @i:0) when ( @i =< @n ) { .foo { border:@i; } .recurse( @n , (@i + 1) ); } .recurse (5);
fails without a clear error message. plessc says
'src/less/loops.less on line 7ned: failed at '.recurse( @n , (@i + 1) );
the problem is apparently .recurse( 5,6 ); is not defined. this works fine :
.recurse( 5,6 );
.recurse(@n, @i:0) when ( @i =< @n ) { .foo { border:@i; } .recurse( @n , (@i + 1) ); } .recurse(@n, @i:0) when ( @i > @n ) { // done } .recurse (5);
It makes some sense, but it's not documented (I think) and other libs don't do that afaik
The text was updated successfully, but these errors were encountered:
No branches or pull requests
This
fails without a clear error message. plessc says
the problem is apparently
.recurse( 5,6 );
is not defined. this works fine :It makes some sense, but it's not documented (I think) and other libs don't do that afaik
The text was updated successfully, but these errors were encountered: