Skip to content

@extend shouldn't fail if a selector fails to unify #2250

@nex3

Description

@nex3

Currently, a non-!optional @extend will produce an error if its target exists but fails to unify with its selector. This doesn't really fit with the original goal of the "missing target" error for @extend, which was to help catch typos, and it complicates implementation because it means that unused extends can't be detected by simple set operations on extend targets and simple selectors. We should eliminate this error, and allow @extends to silently do nothing if they match but unification fails.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions