A type can have its parent_type set to itself, causing an infinite loop during compile. Found this out when I accidentally copy-pasted "parent_type = /ChatCommand" into the wrong class def and tried to compile. Didn't work too well.
Numbered Steps to Reproduce Problem:
1. Create type
2. Set that type's parent_type to itself
Code Snippet (if applicable) to Reproduce Problem:
ChatCommand
var/Command = ""
var/MinPowerLevel = RankModerator
parent_type = /ChatCommand
Expected Results:
Compile error
Actual Results:
Compiler hangs at 100% of CPU Core
Does the problem occur:
Every time? Or how often? Every time
In other games? N/A
In other user accounts? N/A
On other computers? N/A
When does the problem NOT occur?
Did the problem NOT occur in any earlier versions? If so, what was the last version that worked? Not tested.
Workarounds:
Don't set a type's parent_type to itself.