Ensure IF ELSE statements are not surrounded by brackets
This commit is contained in:
parent
5a8feec56b
commit
1b0e9ce86f
1 changed files with 1 additions and 1 deletions
|
@ -802,7 +802,7 @@ func (this Polygon) JSON() string {
|
||||||
|
|
||||||
func (this SubExpression) String() string {
|
func (this SubExpression) String() string {
|
||||||
switch this.Expr.(type) {
|
switch this.Expr.(type) {
|
||||||
case IfelseStatement:
|
case *IfelseStatement:
|
||||||
return print("%v", this.Expr)
|
return print("%v", this.Expr)
|
||||||
default:
|
default:
|
||||||
return print("(%v)", this.Expr)
|
return print("(%v)", this.Expr)
|
||||||
|
|
Loading…
Reference in a new issue