Skip to content

1.4.0 gets parse error on bootstrap mixins.less #1365

@ptte

Description

@ptte

Getting ParseError on bootstrap mixins, confirmed that it was working in 1.3.3

Error

ParseError: Unrecognised input in /.../bootstrap/mixins.less on line 562, column 7:
561     .spanX (@index) when (@index > 0) {
562       (~".span@{index}") { .span(@index); }
563       .spanX(@index - 1);

Reproduce

Using bootstrap version 2.2.1

Create a compile file (lol.less)

// Core variables and mixins
@import "variables.less";
@import "mixins.less";

Compile it

lessc lol.less lol.css

Voila. Error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions