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 using mixin of same name causing problem (unable to compile Bootstrap 3) #1535

Closed
andjo opened this issue Sep 9, 2013 · 2 comments
Closed

Comments

@andjo
Copy link
Contributor

andjo commented Sep 9, 2013

The following code:

.clearfix() {
    // ...
}
.clearfix {
  .clearfix();
}
.foo {
  .clearfix();
}

Fails to compile (after some delay) with the error:

SyntaxError: undefined in /home/anders/git/bootstrap/less/test.less on line 8, column 3:
7 .foo {
8   .clearfix();
9 }

I wanted to try the new source map feature in a project where we customize and compile Bootstrap 3, but this issue currently prevents me from using the 1.5 beta.
The use case for the code above has been described in #1437.

@lukeapage
Copy link
Member

I will get this fixed and a new beta in the next couple of days, thanks for trying the beta.

@lukeapage
Copy link
Member

I fixed this and released a new version - 1.5.0-b2. I also compared bootstrap in 1.4.2 with 1.5.0 and the only differences were improved whitespace rendering.

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