fix type_alias test
							parent
							
								
									1c340174b7
								
							
						
					
					
						commit
						3f480a358e
					
				| 
						 | 
					@ -1414,7 +1414,9 @@ fn (g mut Gen) infix_expr(node ast.InfixExpr) {
 | 
				
			||||||
		g.write(',')
 | 
							g.write(',')
 | 
				
			||||||
		g.expr(node.right)
 | 
							g.expr(node.right)
 | 
				
			||||||
		g.write(')')
 | 
							g.write(')')
 | 
				
			||||||
	} else if node.op in [.plus, .minus, .mul, .div] && (left_sym.name[0].is_capital() || left_sym.name.contains('.')) {
 | 
						} else if node.op in [.plus, .minus, .mul, .div] && (left_sym.name[0].is_capital() || left_sym.name.contains('.')) &&
 | 
				
			||||||
 | 
							left_sym.kind != .alias {
 | 
				
			||||||
 | 
							// !left_sym.is_number() {
 | 
				
			||||||
		g.write(g.typ(node.left_type))
 | 
							g.write(g.typ(node.left_type))
 | 
				
			||||||
		g.write('_')
 | 
							g.write('_')
 | 
				
			||||||
		g.write(util.replace_op(node.op.str()))
 | 
							g.write(util.replace_op(node.op.str()))
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue