GitLab will continue to be upgraded from 11.4.5-ce.0 on November 25th 2019 at 4.00pm (AEDT) to 5.00pm (AEDT) due to Critical Security Patch Availability. During the update, GitLab and Mattermost services will not be available.

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

Block>>#restart primitive now uses control flow exception

Signed-off-by: 's avatarStefan Marr <git@stefan-marr.de>
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):
frame.set_bytecode_index(0)
frame.reset_stack_pointer()
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