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

fmt: fix compilation

This commit is contained in:
Alexander Medvednikov 2020-06-06 16:52:41 +02:00
parent 7a5f008042
commit fb6be080fb

View File

@ -928,9 +928,9 @@ pub fn (mut f Fmt) call_expr(node ast.CallExpr) {
f.write('.' + node.name + '(') f.write('.' + node.name + '(')
f.call_args(node.args) f.call_args(node.args)
f.write(')') f.write(')')
if is_mut { // if is_mut {
// f.write('!') // f.write('!')
} // }
f.or_expr(node.or_block) f.or_expr(node.or_block)
} else { } else {
f.write_language_prefix(node.language) f.write_language_prefix(node.language)