Project

General

Profile

Actions

Feature #11390

open

Allow symbols starting with numbers

Added by v0dro (Sameer Deshmukh) over 9 years ago. Updated 8 months ago.

Status:
Assigned
Target version:
-
[ruby-core:70090]

Description

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.

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0