From 6d23160edc35eac970e6758c6354c747320370e3 Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Thu, 27 Jun 2019 21:59:06 -0400 Subject: [PATCH] fix(feature-exists): Parameter name to "feature" To match Ruby/Dart Sass Closes #2928 --- src/fn_miscs.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/fn_miscs.cpp b/src/fn_miscs.cpp index cb2df5ded..a81e6a5bd 100644 --- a/src/fn_miscs.cpp +++ b/src/fn_miscs.cpp @@ -76,10 +76,10 @@ namespace Sass { } } - Signature feature_exists_sig = "feature-exists($name)"; + Signature feature_exists_sig = "feature-exists($feature)"; BUILT_IN(feature_exists) { - std::string s = unquote(ARG("$name", String_Constant)->value()); + std::string s = unquote(ARG("$feature", String_Constant)->value()); static const auto *const features = new std::unordered_set { "global-variable-shadowing",