Skip to content

Document special case - mixins return values #80

Open
@SomMeri

Description

@SomMeri

Mixins returned within one call do not see each others return values. This:

@returned: global;

.mixin() {@returned: returned1;}
.mixin() {returned: @returned;}
.mixin() {@returned: returned2;}

div-1 {
  .mixin();
}

compiles into:

div-1 {
  returned: global;
}

I briefly considered to file it as an "issue", but we do not have to over-complicate things. It is good as it is.

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