Skip to content

Commit 48953ac

Browse files
committed
Fix #1742 - same expression on both sides of &&
1 parent 78f6009 commit 48953ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ast.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -793,7 +793,7 @@ namespace Sass {
793793
if (lhs_tail->combinator() != rhs_tail->combinator()) return false;
794794
if (lhs_tail->head() && !rhs_tail->head()) return false;
795795
if (!lhs_tail->head() && rhs_tail->head()) return false;
796-
if (lhs_tail->head() && lhs_tail->head()) {
796+
if (lhs_tail->head() && rhs_tail->head()) {
797797
if (!lhs_tail->head()->is_superselector_of(rhs_tail->head())) return false;
798798
}
799799
}

0 commit comments

Comments
 (0)