Issue #6265 has been updated by Shyouhei Urabe.


We looked at this issue at yesterday's developer meeting.  This feature was once implemented, and then removed due to test failures.

The current situation is, it still renders lots of warnings when deprecation turned on.  This string concatenation feature is used than people might think.  It's still difficult to merge.

----------------------------------------
Feature #6265: Remove 'useless' 'concatenation' syntax
https://bugs.ruby-lang.org/issues/6265#change-60025

* Author: Rodrigo Rosenfeld Rosas
* Status: Assigned
* Priority: Normal
* Assignee: Yui NARUSE
----------------------------------------
What is wrong with this code:

some_method 'argument1', 'argument2' 'argument3'

Yes, the missing colon, but it is not always easy to notice that...

What is this ('concatenation' 'syntax') useful for?

Why writing ('some ' 'concatenation') instead of 'some concatenation'?

A missing colon between string arguments can lead to some bugs that may be hard to find, specially if the arguments are optional.

And I can't see any useful case where this allowed syntax for concatenation would help.



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

Unsubscribe: <mailto:ruby-core-request / ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>