Commit 3b3b3d70 authored by Stefan Marr's avatar Stefan Marr

Block>>#restart primitive now uses control flow exception

Signed-off-by: 's avatarStefan Marr <>
parent 14448cdf
from som.interpreter.control_flow import RestartLoopException
from som.primitives.primitives import Primitives
from som.vmobjects.primitive import Primitive
def _restart(ivkbl, frame, interpreter):
raise RestartLoopException()
class BlockPrimitives(Primitives):
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment