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

cgen: remove a space

This commit is contained in:
Alexander Medvednikov 2020-03-25 23:57:46 +01:00
parent 25ee30d8cb
commit aa34d3a4c4

View File

@ -2099,7 +2099,7 @@ fn (g mut Gen) call_expr(it ast.CallExpr) {
g.insert_before('$styp $var_name = ')
}
g.writeln(';') // or')
g.writeln('if ( !${var_name}.ok) {')
g.writeln('if (!${var_name}.ok) {')
g.writeln('string err = ${var_name}.v_error;')
g.writeln('int errcode = ${var_name}.ecode;')
g.stmts(it.or_block.stmts)