Skip to content

Commit

Permalink
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/main/ruby/jruby/jruby.rb
Original file line number Diff line number Diff line change
@@ -79,7 +79,7 @@ def compile_ir(content = nil, filename = DEFAULT_FILENAME, extra_position_info =
end

scope = org.jruby.ir.IRBuilder.build_root(manager, node).scope
scope.top_level_binding_scope = node.scope
scope.top_level_scope = node.scope

scope
end

0 comments on commit 806d858

Please sign in to comment.