diff --git a/vlib/v/gen/cgen.v b/vlib/v/gen/cgen.v index aaa95523b5..6a49bf60b2 100644 --- a/vlib/v/gen/cgen.v +++ b/vlib/v/gen/cgen.v @@ -1414,7 +1414,9 @@ fn (g mut Gen) infix_expr(node ast.InfixExpr) { g.write(',') g.expr(node.right) 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.write(util.replace_op(node.op.str()))