We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1e1b0be commit 5911235Copy full SHA for 5911235
src/Compiler.php
@@ -1600,14 +1600,14 @@ protected function compileChild($child, $out)
1600
$this->throwError("Undefined mixin $name");
1601
}
1602
1603
- $callingScope = $this->env;
+ $callingScope = $this->getStoreEnv();
1604
1605
// push scope, apply args
1606
$this->pushEnv();
1607
$this->env->depth--;
1608
1609
if (isset($content)) {
1610
- $content->scope = $this->storeEnv ? $this->storeEnv : $callingScope;
+ $content->scope = $callingScope;
1611
1612
$this->setRaw(self::$namespaces['special'] . 'content', $content, $this->getStoreEnv());
1613
0 commit comments