Browse Source

BinaryOperatorExpression now has a proper toString()

constants
Tristan B. V. Kildaire 10 months ago
parent
commit
1322c0f790
  1. 2
      source/tlang/compiler/symbols/expressions.d

2
source/tlang/compiler/symbols/expressions.d

@ -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()~"]";
}
}

Loading…
Cancel
Save