Compile the code and Dream Maker crashes.
I believe the compiler doesn't know what to do with the code.
Numbered Steps to Reproduce Problem:
Paste the code. Compile the code.
Code Snippet (if applicable) to Reproduce Problem:
var/list/docs=list()
mob/verb/Test()
for({var/mob/P in world;var/a in docs})
world<<a
Expected Results:
It to compile and when I run, I see everything in docs.
Actual Results:
Dream maker Crashes.
Does the problem occur: ALWAYS
Every time? Or how often?
In other games?
In other user accounts?
On other computers?
When does the problem NOT occur?
If I don't make the for() statement have multiple instances.
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.) I believe it always occured.
Workarounds:
Just use the original for() method without doing multiple instances.
Please Note that I do know that it is pointless doing what I am doing, I'm just trying to find potential bugs and shortcuts in BYOND and came upon this.
I think it shouldn't try to compile and instead it read as an error rather than crash but that's just me.