diff --git a/lib/src/functions.dart b/lib/src/functions.dart index 0f4a978d..c4f0627c 100644 --- a/lib/src/functions.dart +++ b/lib/src/functions.dart @@ -812,7 +812,7 @@ void defineCoreFunctions(Environment environment) { environment.defineFunction("feature-exists", r"$feature", (arguments) { var feature = arguments[0].assertString("feature"); - return new SassBoolean(_features.contains(feature)); + return new SassBoolean(_features.contains(feature.text)); }); environment.defineFunction("variable-exists", r"$name", (arguments) {