Not sure if this is a bug, but the robot loader throws an exception when yield return is used and fails to load any robots in the .NET assembly. I can think of no reason why yield return would not be allowed in a bot.
Anonymous
It sounds like a bug. It could be related to security as there are several security restrictions on robots so they won't cheat or harm the end-users system.
Is the issue about yield return <expression>?
I should like you to to attach or list a minimalistic robot that can be used for reproducing the issue and show how the yield is being used for better understanding the issue.
Thanks in advance! :-)
Last edit: Flemming N. Larsen 2012-12-11
yield return is mostly compiler sugar, should not have impact.
We need exception details.