Skip to content

Conversation

@nex3
Copy link
Contributor

@nex3 nex3 commented Dec 1, 2025

This makes it easier for the migrator to handle functions with named
arguments.
@nex3 nex3 marked this pull request as ready for review December 3, 2025 04:49
IfExpression(
Iterable<(IfConditionExpression?, Expression)> branches, this.span)
: branches = List.unmodifiable(branches) {
if (this.branches.isEmpty) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if() with not branches is considered a valid (if not useful) plain CSS expression, at least according to MDN. Is the decision to require at least one branch in Sass intentional here?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants