|
@@ -283,6 +283,10 @@ class SemanticsVisitor(Visitor):
|
|
|
|
|
|
@staticmethod
|
|
|
def call_name_binary(operand_type, operator):
|
|
|
+ # String joins should also be possible
|
|
|
+ if str(operand_type) == "String":
|
|
|
+ if operator.head == "PLUS":
|
|
|
+ return "string_join"
|
|
|
call_name = "{}_{}".format(SemanticsVisitor.types[str(operand_type)],
|
|
|
SemanticsVisitor.binary_ops[operator.head])
|
|
|
|