Skip to content
This repository was archived by the owner on Dec 24, 2020. It is now read-only.
This repository was archived by the owner on Dec 24, 2020. It is now read-only.

Variable to variable assignment scope broken in mixins #200

Description

@jscheel

codepen.io example for testing: http://codepen.io/anon/pen/opiJc

@other-color: #ff0000;

.a {
  @color: #00ff00;
}

.b {
  @color: #0000ff;
}

.c {
  @color: @other-color;
}

// Change this mixin to each of the mixins above. .a() works, .b() works, .c() throws an error

.a();

body {
  background-color: @color;
}

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