mirror of
https://github.com/vlang/v.git
synced 2025-09-13 22:42:26 +03:00
fix
This commit is contained in:
parent
efeef82952
commit
925455f2c9
1 changed files with 1 additions and 1 deletions
|
@ -1301,7 +1301,7 @@ fn (mut w Walker) mark_resource_dependencies() {
|
||||||
w.fn_by_name('strings.new_builder')
|
w.fn_by_name('strings.new_builder')
|
||||||
w.uses_free[ast.string_type] = true
|
w.uses_free[ast.string_type] = true
|
||||||
|
|
||||||
if w.table.dumps.keys().any(ast.Type(u32(it)).clear_flags(.shared_f).has_flag(.option)) {
|
if w.table.dumps.keys().any(ast.Type(u32(it)).has_flag(.option)) {
|
||||||
w.fn_by_name('str_intp')
|
w.fn_by_name('str_intp')
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue