Skip to content

.Mixin() within .Mixin results in error #413

@tyler-dot-earth

Description

@tyler-dot-earth

Less code like this:

.container() {
    // css properties
}

.container {
    .container();
}

... Results in an error when compiled. It seems to be because they share the same name, although they are different (one is a mixin with empty arguments and one is just a class).

I'm using the ruby less gem to compile on Ubuntu.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions