ID:2872285
 
Resolved
Mixing embedded strings and the deprecated text() proc could cause a compiler crash. Best practice is to use embedded strings entirely and never use text() explicitly (embedded strings compile as the text() proc anyway), but the crash has still been fixed.
BYOND Version:515.1607
Operating System:Windows 7 Ultimate 64-bit
Web Browser:Chrome 109.0.0.0
Applies to:Dream Maker
Status: Resolved (515.1608)

This issue has been resolved.
Descriptive Problem Summary:
Including an embedded text expression "[somevar]" in a text("[][]", arg1, arg2) call causes a compiler crash. ie:

return text("[src]'s foobar: [][]", foo, bar)


This is a very odd way to use a text proc, which itself is odd to use directly since embedded expressions compile down to text() procs, but it 'technically' complies with the spec, in that nothing suggests text() is anything more than a regular proc you can pass embedded strings too.

from byond convos this is likely related to the #undef fix.

work around would be to move the embedded expression ("[src]" in this case) over to the text argument lists
Lummox JR resolved issue with message:
Mixing embedded strings and the deprecated text() proc could cause a compiler crash. Best practice is to use embedded strings entirely and never use text() explicitly (embedded strings compile as the text() proc anyway), but the crash has still been fixed.