We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8c09c45 commit 7b7df13Copy full SHA for 7b7df13
bin/ast
@@ -193,7 +193,7 @@ def ir_setup(root)
193
194
builder = org.jruby.ir.IRBuilder
195
196
- scope = builder.new(manager).build_root(root)
+ scope = builder.build_root(manager, root)
197
passes = manager.get_compiler_passes(scope)
198
[scope, passes]
199
end
core/src/main/java/org/jruby/ir/IRScope.java
@@ -239,6 +239,7 @@ public boolean equals(Object other) {
239
}
240
241
protected void addChildScope(IRScope scope) {
242
+ if (lexicalChildren == null) lexicalChildren = new ArrayList<>();
243
lexicalChildren.add(scope);
244
245
0 commit comments