[ruby-core:70090] [Ruby trunk - Feature #11390] [Open] Allow symbols starting with numbers

From: sameer.deshmukh93@...
Date: 2015-07-22 19:32:51 UTC
List: ruby-core #70090
Issue #11390 has been reported by Sameer Deshmukh.

----------------------------------------
Feature #11390: Allow symbols starting with numbers
https://bugs.ruby-lang.org/issues/11390

* Author: Sameer Deshmukh
* Status: Open
* Priority: Normal
* Assignee: 
----------------------------------------
Currently it is not possible to create a symbol that looks like `:1twothree`.

Converting to a string and then symbolizing causes hash lookup problems and proves counter-intuitive. What's also surprising is that ruby allows symbols to start with special characters but not numbers.



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

In This Thread

Prev Next