You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Without the Task.Delay, (aka when run synchronously) this prints to the console:
does
this
work
But with the Task.Delay uncommented I get:
does
this
work
Unhandled exception. System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection. (Parameter 'index')
at System.Collections.Generic.List`1.RemoveAt(Int32 index)
at Microsoft.Scripting.Interpreter.ActionCallInstruction`2.Run(InterpretedFrame frame)
at Microsoft.Scripting.Interpreter.Interpreter.Run(InterpretedFrame frame)
at Microsoft.Scripting.Interpreter.LightLambda.Run1[T0,TRet](T0 arg0)
at IronPython.Runtime.PythonGenerator.GetNext()
at IronPython.Runtime.PythonGenerator.MoveNextWorker()
at IronPython.Runtime.PythonGenerator.System.Collections.IEnumerator.MoveNext()
at IronPython.Runtime.IEnumeratorOfTWrapper`1.MoveNext()
at dlr_playground.Scenarios.Scenario_ExecuteFile_Push() in [...]Program.cs:line 39
at dlr_playground.Scenarios.Main() in [...]Program.cs:line 17
at dlr_playground.Scenarios.<Main>()
The text was updated successfully, but these errors were encountered:
I'm getting a weird error when trying to run a modified version of
Scenario_ExecuteFile_Push
. Here is my code:Here is my
register_user_commands.py
:Without the Task.Delay, (aka when run synchronously) this prints to the console:
But with the Task.Delay uncommented I get:
The text was updated successfully, but these errors were encountered: