Skip to content

Commit c8c7e7e

Browse files
committed
don't assign source section from side effects
1 parent ab739d1 commit c8c7e7e

File tree

1 file changed

+0
-3
lines changed
  • graalpython/com.oracle.graal.python/src/com/oracle/graal/python/nodes/expression

1 file changed

+0
-3
lines changed

graalpython/com.oracle.graal.python/src/com/oracle/graal/python/nodes/expression/ExpressionNode.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -143,9 +143,6 @@ private ExpressionWithSideEffects(ExpressionNode node, StatementNode sideEffect)
143143
this.node = node;
144144
this.sideEffect = sideEffect;
145145
SourceSection sourceSection = node.getSourceSection();
146-
if (sourceSection == null) {
147-
sourceSection = sideEffect.getSourceSection();
148-
}
149146
this.assignSourceSection(sourceSection);
150147
}
151148

0 commit comments

Comments
 (0)