mirror of
https://github.com/danog/dart-sass.git
synced 2024-12-02 17:49:38 +01:00
Fix PerformVisitor._isEmptyList.
This commit is contained in:
parent
0a8633735a
commit
56dcccbb8a
@ -265,7 +265,7 @@ class _PerformVisitor implements StatementVisitor, ExpressionVisitor<Value> {
|
||||
}
|
||||
|
||||
/// 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);
|
||||
|
Loading…
Reference in New Issue
Block a user