Skip to content

Commit

Permalink
fix: Update comparable signiture
Browse files Browse the repository at this point in the history
  • Loading branch information
nschonni committed Jul 18, 2019
1 parent ac338df commit 5ac3b7d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/fn_numbers.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -207,11 +207,11 @@ namespace Sass {
return SASS_MEMORY_NEW(Boolean, pstate, unitless);
}

Signature comparable_sig = "comparable($number-1, $number-2)";
Signature comparable_sig = "comparable($number1, $number2)";
BUILT_IN(comparable)
{
Number_Obj n1 = ARGN("$number-1");
Number_Obj n2 = ARGN("$number-2");
Number_Obj n1 = ARGN("$number1");
Number_Obj n2 = ARGN("$number2");
if (n1->is_unitless() || n2->is_unitless()) {
return SASS_MEMORY_NEW(Boolean, pstate, true);
}
Expand Down

0 comments on commit 5ac3b7d

Please sign in to comment.