ID:2858785
 
Resolved
Using __TYPE__ in a global proc didn't correctly compile as null, but caused the compiler to pass out.
BYOND Version:515.1602
Operating System:Windows 10 Home 64-bit
Web Browser:Chrome 110.0.0.0
Applies to:Dream Maker
Status: Resolved (515.1603)

This issue has been resolved.
Descriptive Problem Summary:

Numbered Steps to Reproduce Problem:

Run the example code

Code Snippet (if applicable) to Reproduce Problem:
/proc/main()
world.log << "main: " + "[__TYPE__]"


Expected Results: Not getting a compiler error.

Actual Results: error: compiler passed out (please report this bug)

Also throws a "(possible infinite cross-reference loop)" error.

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

When does the problem NOT occur? N/A

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.) __TYPE__ didn't exist in earlier versions

Workarounds: N/A

I think I see why this failed in my tests. It doesn't have a problem inside a verb or proc under on a type. A global proc has no type and that's where __TYPE__ is failing.
Lummox JR resolved issue with message:
Using __TYPE__ in a global proc didn't correctly compile as null, but caused the compiler to pass out.