gen: minor cleanup in gen_expr_to_string() (#7026)
							parent
							
								
									9487578c0c
								
							
						
					
					
						commit
						f7cc3d3718
					
				|  | @ -4637,7 +4637,6 @@ fn (mut g Gen) gen_expr_to_string(expr ast.Expr, etype table.Type) ?bool { | ||||||
| 		g.write(')') | 		g.write(')') | ||||||
| 	} else if typ == table.string_type { | 	} else if typ == table.string_type { | ||||||
| 		g.expr(expr) | 		g.expr(expr) | ||||||
| 		return true |  | ||||||
| 	} else if sym.kind == .enum_ { | 	} else if sym.kind == .enum_ { | ||||||
| 		is_var := match expr { | 		is_var := match expr { | ||||||
| 			ast.SelectorExpr, ast.Ident { true } | 			ast.SelectorExpr, ast.Ident { true } | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue