Skip to content

Master: logical operator 'and' should have precedence over logical operator 'or' #2776

Closed
@SomMeri

Description

@SomMeri

This is related to #2763 pull request.

The guards of this mixin:

.orderOfEvaluation(@a1, @a2, @a3) when ((@a1) and (@a2) or (@a3)) {
  no-parenthesis: evaluated true 1;
}

should be evaluated to true if called like this .orderOfEvaluation(false, false, true) e.g. the same way as logic in javascript works.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions