cgen: remove extraneous call to util.no_dots

pull/7163/head
joe-conigliaro 2020-12-06 22:12:23 +11:00
parent 334d605d90
commit 5931b26737
No known key found for this signature in database
GPG Key ID: C12F7136C08206F1
1 changed files with 1 additions and 1 deletions

View File

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