BinaryOperatorExpression now has a proper toString()

This commit is contained in:
Tristan B. Velloza Kildaire 2022-04-13 09:49:42 +02:00
parent 1f8f248219
commit 1322c0f790
1 changed files with 1 additions and 1 deletions

View File

@ -76,7 +76,7 @@ public class BinaryOperatorExpression : OperatorExpression
public override string toString()
{
/* TODO: FIll in */
return "[BinOpExp: "~"TODO"~"]";
return "[BinOpExp: Op: "~to!(string)(operator)~", Lhs: "~lhs.toString()~", Rhs: "~rhs.toString()~"]";
}
}