From 5ac3b7d2f3bd91d2695b64d7d6eaa000e4b27ab3 Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Thu, 18 Jul 2019 01:41:57 -0400 Subject: [PATCH] fix: Update comparable signiture See https://github.com/sass/sass-spec/pull/1440 Closes #2916 --- src/fn_numbers.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/fn_numbers.cpp b/src/fn_numbers.cpp index e7c203905..5a585713d 100644 --- a/src/fn_numbers.cpp +++ b/src/fn_numbers.cpp @@ -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); }