https://bugs.ruby-lang.org/https://bugs.ruby-lang.org/favicon.ico?17113305112016-08-01T12:58:56ZRuby Issue Tracking SystemRuby master - Feature #11337: Allow rescue without begin inside blockshttps://bugs.ruby-lang.org/issues/11337?journal_id=598572016-08-01T12:58:56Zrosenfeld (Rodrigo Rosenfeld Rosas)rr.rosas@gmail.com
<ul></ul><p>Could you please close this one? It seems it's a duplicate of issue <a class="issue tracker-2 status-5 priority-4 priority-default closed" title="Feature: Allow rescue/else/ensure in do..end (Closed)" href="https://bugs.ruby-lang.org/issues/7882">#7882</a>.</p>
<p>issue <a class="issue tracker-2 status-5 priority-4 priority-default closed" title="Feature: rescue in blocks without begin/end (Closed)" href="https://bugs.ruby-lang.org/issues/12623">#12623</a> seems to be yet another recent request for the same feature and should probably be closed as a duplicate of <a class="issue tracker-2 status-5 priority-4 priority-default closed" title="Feature: Allow rescue/else/ensure in do..end (Closed)" href="https://bugs.ruby-lang.org/issues/7882">#7882</a> as well.</p> Ruby master - Feature #11337: Allow rescue without begin inside blockshttps://bugs.ruby-lang.org/issues/11337?journal_id=598642016-08-02T01:52:37Zshyouhei (Shyouhei Urabe)shyouhei@ruby-lang.org
<ul><li><strong>Is duplicate of</strong> <i><a class="issue tracker-2 status-5 priority-4 priority-default closed" href="/issues/7882">Feature #7882</a>: Allow rescue/else/ensure in do..end</i> added</li></ul> Ruby master - Feature #11337: Allow rescue without begin inside blockshttps://bugs.ruby-lang.org/issues/11337?journal_id=598682016-08-02T01:54:38Zshyouhei (Shyouhei Urabe)shyouhei@ruby-lang.org
<ul></ul><p>Issues linked. I guess those duplicated issues synchronizes their status each other so I don't close them (am I correct?).</p> Ruby master - Feature #11337: Allow rescue without begin inside blockshttps://bugs.ruby-lang.org/issues/11337?journal_id=598812016-08-02T11:21:50Zduerst (Martin Dürst)duerst@it.aoyama.ac.jp
<ul></ul><p>On 2016/08/02 10:54, <a href="mailto:shyouhei@ruby-lang.org" class="email">shyouhei@ruby-lang.org</a> wrote:</p>
<blockquote>
<p>I guess those duplicated issues synchronizes their status each other so I don't close them (am I correct?).</p>
</blockquote>
<p>I guess it depends on how you linked them. If it's just 'related', then<br>
the status of each is independent. If it's 'depends on', then you can<br>
close one without closing the other, but not the other way round. But<br>
I'm not sure this is enforced.</p> Ruby master - Feature #11337: Allow rescue without begin inside blockshttps://bugs.ruby-lang.org/issues/11337?journal_id=599022016-08-03T19:23:35Zrosenfeld (Rodrigo Rosenfeld Rosas)rr.rosas@gmail.com
<ul></ul><p><a href="http://www.redmine.org/projects/redmine/wiki/RedmineIssues" class="external">http://www.redmine.org/projects/redmine/wiki/RedmineIssues</a></p>
<p>"duplicates - Links issues so that closing one, will close the other (e.g. closing A will close B)<br>
For example, if issue B duplicates A:</p>
<ul>
<li>closing B will leave A open</li>
<li>closing A will automatically close B</li>
</ul>
<p>duplicated by - Reciprocal of duplicates.<br>
For example, if issue A is duplicated by issue B:</p>
<ul>
<li>closing B will leave A open</li>
<li>closing A will automatically close B"</li>
</ul>
<p>I'm not sure I completely understand this but it seems to be possible to close the duplicates without closing the original even though they would be automatically closed if using the right relation :)</p> Ruby master - Feature #11337: Allow rescue without begin inside blockshttps://bugs.ruby-lang.org/issues/11337?journal_id=599032016-08-03T19:24:53Zrosenfeld (Rodrigo Rosenfeld Rosas)rr.rosas@gmail.com
<ul></ul><p>If I understood it correctly, this issues currently duplicates <a class="issue tracker-2 status-5 priority-4 priority-default closed" title="Feature: Allow rescue/else/ensure in do..end (Closed)" href="https://bugs.ruby-lang.org/issues/7882">#7882</a> which means closing this one would keep the other open.</p> Ruby master - Feature #11337: Allow rescue without begin inside blockshttps://bugs.ruby-lang.org/issues/11337?journal_id=599192016-08-04T06:48:11Zshyouhei (Shyouhei Urabe)shyouhei@ruby-lang.org
<ul><li><strong>Status</strong> changed from <i>Open</i> to <i>Closed</i></li></ul><p>Hmm.. Thank you for the check. It is complicated than I thought. Closing this one anyway.</p> Ruby master - Feature #11337: Allow rescue without begin inside blockshttps://bugs.ruby-lang.org/issues/11337?journal_id=599542016-08-04T09:32:03Zduerst (Martin Dürst)duerst@it.aoyama.ac.jp
<ul></ul><p>On 2016/08/04 04:23, <a href="mailto:rr.rosas@gmail.com" class="email">rr.rosas@gmail.com</a> wrote:</p>
<blockquote>
<p><a href="http://www.redmine.org/projects/redmine/wiki/RedmineIssues" class="external">http://www.redmine.org/projects/redmine/wiki/RedmineIssues</a></p>
</blockquote>
<blockquote>
<p>I'm not sure I completely understand this but it seems to be possible to close the duplicates without closing the original even though they would be automatically closed if using the right relation :)</p>
</blockquote>
<p>Well, I guess closing the duplicate is done because it's recognized as a<br>
duplicate and no longer needed. Closing the original means that the<br>
problem itself is solved, so it would be wrong to keep the duplicates open.</p>
<p>Regards, Martin.</p> Ruby master - Feature #11337: Allow rescue without begin inside blockshttps://bugs.ruby-lang.org/issues/11337?journal_id=613712016-11-07T02:29:08Zshyouhei (Shyouhei Urabe)shyouhei@ruby-lang.org
<ul><li><strong>Has duplicate</strong> <i><a class="issue tracker-2 status-5 priority-4 priority-default closed" href="/issues/12906">Feature #12906</a>: do/end blocks work with ensure/rescue/else</i> added</li></ul>