Skip to content

Commit

Permalink
Fix #1742 - same expression on both sides of &&
Browse files Browse the repository at this point in the history
  • Loading branch information
Владимир Пляшкун authored and saper committed Nov 18, 2015
1 parent 78f6009 commit 566228f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ast.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -793,7 +793,7 @@ namespace Sass {
if (lhs_tail->combinator() != rhs_tail->combinator()) return false;
if (lhs_tail->head() && !rhs_tail->head()) return false;
if (!lhs_tail->head() && rhs_tail->head()) return false;
if (lhs_tail->head() && lhs_tail->head()) {
if (lhs_tail->head() && rhs_tail->head()) {
if (!lhs_tail->head()->is_superselector_of(rhs_tail->head())) return false;
}
}
Expand Down

0 comments on commit 566228f

Please sign in to comment.