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

Class redefinition use the mixin in the same name make lessc crash #1915

Closed
chunpu opened this issue Mar 6, 2014 · 3 comments · Fixed by #1929
Closed

Class redefinition use the mixin in the same name make lessc crash #1915

chunpu opened this issue Mar 6, 2014 · 3 comments · Fixed by #1929

Comments

@chunpu
Copy link

chunpu commented Mar 6, 2014

hello, this make lessc compiler crash
why cannot I redefinition the .red?

.red() {
  color: red;
}
.red {
  .red();
}
.red, .red2 {
  font-size: 14px;
  .red();
}
@chunpu
Copy link
Author

chunpu commented Mar 6, 2014

I tried in the v1.5 less, it works ok.

just crash in the less v1.7

@SomMeri
Copy link
Member

SomMeri commented Mar 12, 2014

I think this is a regression of #1535 , so I'm labeling it as bug (not sure about priority). Also related to #1914.

@SomMeri SomMeri added the Bug label Mar 12, 2014
@dundee
Copy link

dundee commented Mar 17, 2014

This bug was introduced in 1.6.0 and still persists.

SyntaxError: Maximum call stack size exceeded in bootstrap/type.less on line 204, column 7:
203       margin-left: @component-offset-horizontal;
204       .clearfix(); // Clear the floated `dt` if an empty `dd` is present
205     }

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

Successfully merging a pull request may close this issue.

4 participants