ID:2284338
 
BYOND Version:511
Operating System:Windows 7 Home Premium
Web Browser:Firefox 54.0
Applies to:Dream Maker
Status: Open

Issue hasn't been assigned a status value.
Descriptive Problem Summary:
DM compiler encounters infinite loop when trying to compile bad code.

Code Snippet (if applicable) to Reproduce Problem:
var/foo/bar/foobar = new()
foo/bar
parent_type = /


Expected Results:
Not sure, really. I was poking around.

Actual Results:
error: compiler passed out (please report this bug)
code\worldgen\dungeon.dm:219:error: foobar:  compile failed (possible infinite cross-reference loop)
code\worldgen\dungeon.dm:221:error: parent_type:  compile failed (possible infinite cross-reference loop)
code\worldgen\dungeon.dm:221:error: /:  compile failed (possible infinite cross-reference loop)


When does the problem NOT occur?
Leaving out the variable declaration or not instantiating it with new() will result in a regular compiler error.

Workarounds:
Don't write bad code.
error: compiler passed out (please report this bug)

This is the most incredible error message I've ever seen.