We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ad709c3 + cb46999 commit acd2b40Copy full SHA for acd2b40
src/ast.cpp
@@ -448,10 +448,10 @@ namespace Sass {
448
}
449
450
// Selector lists can be compared to comma lists
451
- bool Selector_List::operator==(const Expression& rhs) const
+ bool Selector_List::operator== (const Expression& rhs) const
452
{
453
// solve the double dispatch problem by using RTTI information via dynamic cast
454
- if (List_Ptr_Const ls = Cast<List>(&rhs)) { return *this == *ls; }
+ if (List_Ptr_Const ls = Cast<List>(&rhs)) { return *ls == *this; }
455
if (Selector_Ptr_Const ls = Cast<Selector>(&rhs)) { return *this == *ls; }
456
// compare invalid (maybe we should error?)
457
return false;
0 commit comments