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.
This is the most incredible error message I've ever seen.