mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
parent
3c920f2ee6
commit
2f9becc98d
@ -2483,8 +2483,9 @@ fn (mut g Gen) expr_with_cast(expr ast.Expr, got_type_raw ast.Type, expected_typ
|
||||
tmp_var := g.new_tmp_var()
|
||||
g.write('${got_styp} ${tmp_var} = ')
|
||||
g.expr(expr)
|
||||
g.write(';')
|
||||
g.writeln(';')
|
||||
g.write(stmt_str)
|
||||
g.write(' ')
|
||||
g.write('${fname}(&${tmp_var})')
|
||||
return
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user