mirror of
https://github.com/danog/dart-sass.git
synced 2025-01-23 06:12: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;
|
_inMixin = true;
|
||||||
_mixinHasContent = false;
|
_mixinHasContent = false;
|
||||||
var children = this.children(_ruleChild);
|
var children = this.children(_ruleChild);
|
||||||
|
var hadContent = _mixinHasContent;
|
||||||
_inMixin = false;
|
_inMixin = false;
|
||||||
_mixinHasContent = null;
|
_mixinHasContent = null;
|
||||||
|
|
||||||
return new MixinRule(name, arguments, children, scanner.spanFrom(start),
|
return new MixinRule(name, arguments, children, scanner.spanFrom(start),
|
||||||
hasContent: _mixinHasContent);
|
hasContent: hadContent);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Consumes a `@return` rule.
|
/// Consumes a `@return` rule.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user