https://bugs.ruby-lang.org/https://bugs.ruby-lang.org/favicon.ico?17113305112012-12-13T19:35:11ZRuby Issue Tracking SystemRuby master - Bug #7536: local variables added to TOPLEVEL_BINDING in -r are broken https://bugs.ruby-lang.org/issues/7536?journal_id=346992012-12-13T19:35:11ZAnonymous
<ul><li><strong>Status</strong> changed from <i>Open</i> to <i>Assigned</i></li><li><strong>Assignee</strong> set to <i>ko1 (Koichi Sasada)</i></li><li><strong>Priority</strong> changed from <i>Normal</i> to <i>5</i></li><li><strong>Target version</strong> set to <i>2.0.0</i></li></ul> Ruby master - Bug #7536: local variables added to TOPLEVEL_BINDING in -r are broken https://bugs.ruby-lang.org/issues/7536?journal_id=349302012-12-21T19:40:02Zko1 (Koichi Sasada)
<ul><li><strong>Status</strong> changed from <i>Assigned</i> to <i>Closed</i></li><li><strong>% Done</strong> changed from <i>0</i> to <i>100</i></li></ul><p>This issue was solved with changeset r38529.<br>
Conrad, thank you for reporting this issue.<br>
Your contribution to Ruby is greatly appreciated.<br>
May Ruby be with you.</p>
<hr>
<ul>
<li>ruby.c (process_options): need to acquire env from TOPLEVEL_BINDING<br>
each time.<br>
<code>bind->env' may update after </code>eval()'.<br>
[Bug <a class="issue tracker-1 status-5 priority-4 priority-default closed" title="Bug: local variables added to TOPLEVEL_BINDING in -r are broken (Closed)" href="https://bugs.ruby-lang.org/issues/7536">#7536</a>]</li>
</ul>