Skip to content
This repository has been archived by the owner on Jul 24, 2024. It is now read-only.

Commit

Permalink
Merge pull request #2946 from nschonni/fix--Update-comparable-signiture
Browse files Browse the repository at this point in the history
fix: Update comparable signiture
  • Loading branch information
nschonni authored Jul 19, 2019
2 parents 1587a2a + 5ac3b7d commit 58d1066
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 58d1066

Please sign in to comment.