mirror of
https://github.com/danog/dart-sass.git
synced 2025-01-22 22:02:00 +01:00
Fix MixinRule.hasContent.
This commit is contained in:
parent
0747b0cb95
commit
40ca7ee0f9
@ -695,11 +695,12 @@ abstract class StylesheetParser extends Parser {
|
||||
_inMixin = true;
|
||||
_mixinHasContent = false;
|
||||
var children = this.children(_ruleChild);
|
||||
var hadContent = _mixinHasContent;
|
||||
_inMixin = false;
|
||||
_mixinHasContent = null;
|
||||
|
||||
return new MixinRule(name, arguments, children, scanner.spanFrom(start),
|
||||
hasContent: _mixinHasContent);
|
||||
hasContent: hadContent);
|
||||
}
|
||||
|
||||
/// Consumes a `@return` rule.
|
||||
|
Loading…
x
Reference in New Issue
Block a user