https://redmine.ruby-lang.org/https://redmine.ruby-lang.org/favicon.ico?17113305112019-03-08T23:14:01ZRuby Issue Tracking SystemRuby master - Bug #15647: Disallow "in" as a keyword argument namehttps://redmine.ruby-lang.org/issues/15647?journal_id=769992019-03-08T23:14:01Zdrbrain (Eric Hodel)drbrain@segment7.net
<ul></ul><p>This would break the Kernel#spawn family's backward compatibility make wrapping methods in this family harder than it already is, as you can work around this with Binding#local_variable_get.</p>
<p>I think this should be rejected.</p> Ruby master - Bug #15647: Disallow "in" as a keyword argument namehttps://redmine.ruby-lang.org/issues/15647?journal_id=770002019-03-08T23:36:17Znobu (Nobuyoshi Nakada)nobu@ruby-lang.org
<ul><li><strong>Description</strong> updated (<a title="View differences" href="/journals/77000/diff?detail_id=51364">diff</a>)</li><li><strong>Status</strong> changed from <i>Open</i> to <i>Rejected</i></li></ul><p>It is known that reserved words can be keyword arguments.<br>
And <code>Binding#local_variable_get</code> has been added for that purpose, <code>if</code> argument for instance.</p>