ID:2400424
 
BYOND Version:512.1448
Operating System:Linux
Web Browser:Chrome 68.0.3440.106
Applies to:DM Language
Status: Open

Issue hasn't been assigned a status value.
Descriptive Problem Summary:
This is better explained through example. The below snippet is taken directly from the DM Ref, but with the output to world changed to an output to world.log to make it run on our expression bot.
In addition to the version/OS this is filed under, this was also tested on 510.1347 on Windows 10, so this isn't new or Linux-specific.

This could also be an issue with the Ref, but I hope not, since the documented behavior would be useful.

Code Snippet (if applicable) to Reproduce Problem:
#define SAYTWICE(t) 2###t
#define TOTEXT(t) #t
world.log << "[TOTEXT(SAYTWICE(hi))]" // world.log << "hihi"


Expected Results:
world.log << "hihi"


Actual Results:
world.log << "SAYTWICE(hi)"


Does the problem occur:
Every time? Or how often?
Every time.
In other games?
N/A
In other user accounts?
Yes.
On other computers?
Yes.

When does the problem NOT occur?
Never.

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.)
Unknown. I assume it worked when that part of the Ref was written, but it has been broken at least since 510.1347.

Workarounds:
None, though this isn't something that is often necessary to do.