[ruby-core:62473] [ruby-trunk - Feature #6074] Allow alias arguments to have a comma

From: shugo@...
Date: 2014-05-09 02:34:08 UTC
List: ruby-core #62473
Issue #6074 has been updated by Shugo Maeda.


Akinori MUSHA wrote:
> I believe the lack of comma is an important sign that alias is not really a method call in which directive arguments are not evaluated like with normal method calls.

Agreed, and this issue should be judged by Matz, shouldn't it?


----------------------------------------
Feature #6074: Allow alias arguments to have a comma
https://bugs.ruby-lang.org/issues/6074#change-46630

* Author: Thomas Sawyer
* Status: Assigned
* Priority: Low
* Assignee: Yukihiro Matsumoto
* Category: core
* Target version: next minor
----------------------------------------
This is one my biggest pet peeves with Ruby. I am always typing:

~~~ruby
alias :foo, :bar
~~~

And getting a damn syntax error.

Btw, is there a reason why `alias` is a keyword and not a method?




-- 
https://bugs.ruby-lang.org/

In This Thread