ID:2534342
 
BYOND Version:512
Operating System:Windows 10 Home 64-bit
Web Browser:Chrome 79.0.3945.88
Applies to:Dream Seeker
Status: Open

Issue hasn't been assigned a status value.
Descriptive Problem Summary:
In DM, you can either reference a typepath by name or by number. /regex is the same as /datum/5. However, this numerical indexing is not supported by text2path.

Numbered Steps to Reproduce Problem:

Code Snippet (if applicable) to Reproduce Problem:
world.log << /datum/5 // returns /regex
world.log << text2path("/datum/5") // returns null


Expected Results:
returns the type it's supposed to

Actual Results:
returns null

Does the problem occur:
Every time? Or how often?
In other games?
In other user accounts?
On other computers?

When does the problem NOT occur?

Did the problem NOT occur in any earlier versions? If so, what was the last version that worked? (Visit http://www.byond.com/download/build to download old versions for testing.)

Workarounds:


If anything the only bug here is that DM allows you to reference the path by number.
obj/\4
allows you to use numbers.