Skip to content

Commit 75b1688

Browse files
committed
defined? with some newer ConstantPath nodes was missing for assignments
1 parent abe7aaf commit 75b1688

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/main/java/org/jruby/prism/builder/IRBuilderPrism.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1081,6 +1081,8 @@ protected Operand buildGetDefinition(Node node) {
10811081
node instanceof ClassVariableOperatorWriteNode || node instanceof ClassVariableOrWriteNode ||
10821082
node instanceof ConstantAndWriteNode || node instanceof ConstantOrWriteNode ||
10831083
node instanceof ConstantPathWriteNode || node instanceof ConstantWriteNode ||
1084+
node instanceof ConstantPathAndWriteNode ||node instanceof ConstantPathOrWriteNode ||
1085+
node instanceof ConstantPathOperatorWriteNode ||
10841086
node instanceof InstanceVariableAndWriteNode || node instanceof InstanceVariableOrWriteNode ||
10851087
node instanceof InstanceVariableOperatorWriteNode ||
10861088
node instanceof LocalVariableWriteNode ||

0 commit comments

Comments
 (0)