string additions also work now - be prepared #24!
This commit is contained in:
1 parent
70e1970f40
commit
b22c9c96f2
2 files changed
+30
-1
No files matched your search
@@ -200,6 +200,6 @@ def _element_calculate(left, operator, right):
|
||||
if isinstance(left, iterable.Array) or is_string(left):
|
||||
return [left]
|
||||
elif operator == '+':
|
||||
if is_number(left) and is_number(right):
|
||||
if is_number(left) and is_number(right) or is_string(left) and is_string(right):
|
||||
return [create(left.obj + right.obj)]
|
||||
return [left, right]
|
||||
Reference in new issue
Block a user