GitLab will be upgraded to the 12.10.14-ce.0 on 28 Sept 2020 at 2.00pm (AEDT) to 2.30pm (AEDT). During the update, GitLab and Mattermost services will not be available. If you have any concerns with this, please talk to us at N110 (b) CSIT building.

Commit 0fd1f23b authored by Stefan Marr's avatar Stefan Marr

Fix broken string length primitive, needs to be fixed in PySOM, too!

Signed-off-by: default avatarStefan Marr <git@stefan-marr.de>
parent fa8c86e2
......@@ -13,7 +13,7 @@ def _asSymbol(ivkbl, frame, interpreter):
def _length(ivkbl, frame, interpreter):
rcvr = frame.pop()
frame.push(interpreter.get_universe().new_integer(rcvr.get_embedded_string().length()))
frame.push(interpreter.get_universe().new_integer(len(rcvr.get_embedded_string())))
def _equals(ivkbl, frame, interpreter):
op1 = frame.pop()
......
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