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

From: matz@...
Date: 2014-05-09 03:14:43 UTC
List: ruby-core #62474
Issue #6074 has been updated by Yukihiro Matsumoto.

Status changed from Assigned to Rejected

As Akinori stated, alias is special to be special.

In your case, forget alias and always use alias_method.

Matz.


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

* Author: Thomas Sawyer
* Status: Rejected
* 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