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: 's 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