mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
vweb fixes; ORM fixes; freeing strings
This commit is contained in:
@@ -445,6 +445,7 @@ fn (p mut Parser) expression() string {
|
||||
is_num := typ.contains('*') || is_number_type(typ)
|
||||
p.check_space(p.tok)
|
||||
if is_str && tok_op == .plus && !p.is_js {
|
||||
p.is_alloc = true
|
||||
p.cgen.set_placeholder(ph, 'string_add(')
|
||||
p.gen(',')
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user