https://redmine.ruby-lang.org/https://redmine.ruby-lang.org/favicon.ico?17113305112017-01-06T04:27:18ZRuby Issue Tracking SystemRuby master - Feature #13109: `using` in refinements is required to be physically placed before the refined method callhttps://redmine.ruby-lang.org/issues/13109?journal_id=624022017-01-06T04:27:18Zmatz (Yukihiro Matsumoto)matz@ruby.or.jp
<ul><li><strong>Tracker</strong> changed from <i>Bug</i> to <i>Feature</i></li></ul><p>I consider it's an intended behavior, but there's a room for improvement.<br>
So I made this issue as a feature request.</p>
<p>Matz.</p> Ruby master - Feature #13109: `using` in refinements is required to be physically placed before the refined method callhttps://redmine.ruby-lang.org/issues/13109?journal_id=635282017-03-13T06:12:53Zmatz (Yukihiro Matsumoto)matz@ruby.or.jp
<ul><li><strong>Status</strong> changed from <i>Open</i> to <i>Rejected</i></li></ul><p>There may be an idea to use refinement without explicit <code>using</code>. But that's out of the scope of this issue.</p>
<p>Matz.</p> Ruby master - Feature #13109: `using` in refinements is required to be physically placed before the refined method callhttps://redmine.ruby-lang.org/issues/13109?journal_id=665292017-09-07T06:55:47Zrazum2um (Vlad Bokov)bokov.vlad@gmail.com
<ul></ul><p>matz (Yukihiro Matsumoto) wrote:</p>
<blockquote>
<p>There may be an idea to use refinement without explicit <code>using</code>. But that's out of the scope of this issue.</p>
<p>Matz.</p>
</blockquote>
<p>Very interesting, <a class="user active user-mention" href="https://redmine.ruby-lang.org/users/13">@matz (Yukihiro Matsumoto)</a>, please, could you refer to the issue of non-explicit <code>using</code>?</p> Ruby master - Feature #13109: `using` in refinements is required to be physically placed before the refined method callhttps://redmine.ruby-lang.org/issues/13109?journal_id=665322017-09-07T08:44:42Zduerst (Martin Dürst)duerst@it.aoyama.ac.jp
<ul></ul><p>razum2um (Vlad Bokov) wrote:</p>
<blockquote>
<p>matz (Yukihiro Matsumoto) wrote:</p>
<blockquote>
<p>There may be an idea to use refinement without explicit <code>using</code>. But that's out of the scope of this issue.</p>
</blockquote>
</blockquote>
<blockquote>
<blockquote>
<p>Matz.</p>
</blockquote>
<p>Very interesting, <a class="user active user-mention" href="https://redmine.ruby-lang.org/users/13">@matz (Yukihiro Matsumoto)</a>, please, could you refer to the issue of non-explicit <code>using</code>?</p>
</blockquote>
<p>I don't think Matz meant a specific already existing issue. I think it should be proposed as a new, separate issue.</p> Ruby master - Feature #13109: `using` in refinements is required to be physically placed before the refined method callhttps://redmine.ruby-lang.org/issues/13109?journal_id=665602017-09-09T02:06:20Zkernigh (George Koehler)xkernigh@netscape.net
<ul></ul><p>Feature <a class="issue tracker-2 status-1 priority-4 priority-default" title="Feature: Make refinement scoping to be like that of constants (Open)" href="https://redmine.ruby-lang.org/issues/13805">#13805</a> proposed to activate refinements across multiple files without an explicit <code>using</code> in every file.</p> Ruby master - Feature #13109: `using` in refinements is required to be physically placed before the refined method callhttps://redmine.ruby-lang.org/issues/13109?journal_id=665612017-09-09T02:44:10Zduerst (Martin Dürst)duerst@it.aoyama.ac.jp
<ul><li><strong>Related to</strong> <i><a class="issue tracker-2 status-1 priority-4 priority-default" href="/issues/13805">Feature #13805</a>: Make refinement scoping to be like that of constants</i> added</li></ul>