Skip to content

Commit 063a2d2

Browse files
committed
updates
1 parent 253110f commit 063a2d2

File tree

2 files changed

+2
-10
lines changed

2 files changed

+2
-10
lines changed

src/nodes/core/StackNode.js

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -263,9 +263,7 @@ class StackNode extends Node {
263263

264264
if ( childNode.isVarNode && childNode.intent === true ) {
265265

266-
const properties = builder.getNodeProperties( childNode );
267-
268-
if ( properties.assign !== true ) {
266+
if ( childNode.isAssign( builder ) !== true ) {
269267

270268
continue;
271269

@@ -304,9 +302,7 @@ class StackNode extends Node {
304302

305303
if ( node.isVarNode && node.intent === true ) {
306304

307-
const properties = builder.getNodeProperties( node );
308-
309-
if ( properties.assign !== true ) {
305+
if ( node.isAssign( builder ) !== true ) {
310306

311307
continue;
312308

src/nodes/core/VarNode.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -148,10 +148,6 @@ class VarNode extends Node {
148148

149149
isAssign( builder ) {
150150

151-
if ( this.intent !== true ) return true;
152-
153-
//
154-
155151
const properties = builder.getNodeProperties( this );
156152

157153
let assign = properties.assign;

0 commit comments

Comments
 (0)