Skip to content

Commit 34e7641

Browse files
committed
Base on 10.1 only for now
We may consider modifying this to be backward-compatible with 10.0 in the future, but for dev simplicity focus on 10.1 for now.
1 parent 6c74fe1 commit 34e7641

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@
7373
<dependency>
7474
<groupId>org.jruby</groupId>
7575
<artifactId>jruby-base</artifactId>
76-
<version>10.0.2.0</version>
76+
<version>10.1.0.0-SNAPSHOT</version>
7777
</dependency>
7878
<dependency>
7979
<groupId>org.ruby-lang</groupId>

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2280,7 +2280,7 @@ Operand buildYield(Variable aResult, YieldNode node) {
22802280
}
22812281
}
22822282
Operand value = buildYieldArgs(node.arguments != null ? node.arguments.arguments : null, flags);
2283-
addInstr(new YieldInstr(result, getYieldClosureVariable(), value, flags[0], unwrap));
2283+
addInstr(new YieldInstr(scope, result, getYieldClosureVariable(), value, flags[0], unwrap));
22842284
return result;
22852285
}
22862286

0 commit comments

Comments
 (0)