Skip to content

Scss suffixes is not working #450

@ruannawe

Description

@ruannawe

When I run the command: bundle exec rake assets:precompile.

I receive the following error: Sass::SyntaxError: Invalid CSS after "&-": expected number or function, was "-another {".

My code:

.example {
    &-another {
        color: red;
    }
}

I'm using version 6 when I receive this error. Version 5.1 compile WITHOUT errors. Probably some bug between these two versions.

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