Skip to content

Commit

Permalink
[error] "String concatenation not supported when targeting c".
Browse files Browse the repository at this point in the history
  • Loading branch information
pfusik committed Oct 15, 2021
1 parent 5df87de commit 648f452
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions CiResolver.cs
Original file line number Diff line number Diff line change
Expand Up @@ -638,6 +638,7 @@ public override CiExpr Visit(CiBinaryExpr expr, CiPriority parent)
+ Convert.ToString(rightLiteral.Value, CultureInfo.InvariantCulture));
if (left is CiInterpolatedString || right is CiInterpolatedString)
return Concatenate(ToInterpolatedString(left), ToInterpolatedString(right));
NotSupported(expr, "String concatenation", "c", "cl");
type = CiSystem.StringPtrType;
}
else
Expand Down

0 comments on commit 648f452

Please sign in to comment.