Skip to content

Commit

Permalink
fixed macro auto-import
Browse files Browse the repository at this point in the history
  • Loading branch information
fabpot committed Jun 5, 2019
1 parent 0ae533d commit 57c5130
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion CHANGELOG
@@ -1,6 +1,6 @@
* 2.11.2 (2019-XX-XX)

* n/a
* fixed macro auto-import

* 2.11.1 (2019-06-04)

Expand Down
1 change: 1 addition & 0 deletions src/NodeVisitor/MacroAutoImportNodeVisitor.php
Expand Up @@ -33,6 +33,7 @@ public function enterNode(Node $node, Environment $env)
{
if ($node instanceof ModuleNode) {
$this->inAModule = true;
$this->hasMacroCalls = false;
}

return $node;
Expand Down

0 comments on commit 57c5130

Please sign in to comment.