1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

cgen: remove extraneous call to util.no_dots

This commit is contained in:
joe-conigliaro
2020-12-06 22:12:23 +11:00
parent 334d605d90
commit 5931b26737

View File

@ -2980,7 +2980,7 @@ fn (mut g Gen) infix_expr(node ast.InfixExpr) {
}
} else if node.op == .arrow {
// chan <- val
styp := util.no_dots(left_sym.cname)
styp := left_sym.cname
g.write('__${styp}_pushval(')
g.expr(node.left)
g.write(', ')