From 56dcccbb8a4da7c156380bd43956ef0beeb1cf3b Mon Sep 17 00:00:00 2001 From: Natalie Weizenbaum Date: Wed, 19 Oct 2016 15:00:00 -0700 Subject: [PATCH] Fix PerformVisitor._isEmptyList. --- lib/src/visitor/perform.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/src/visitor/perform.dart b/lib/src/visitor/perform.dart index f1a57232..917e7ae7 100644 --- a/lib/src/visitor/perform.dart +++ b/lib/src/visitor/perform.dart @@ -265,7 +265,7 @@ class _PerformVisitor implements StatementVisitor, ExpressionVisitor { } /// Returns whether [value] is an empty [SassList]. - bool _isEmptyList(Value value) => value is List && value.contents.isEmpty; + bool _isEmptyList(Value value) => value is SassList && value.contents.isEmpty; Value visitEachRule(EachRule node) { var list = node.list.accept(this);