mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
builder: fix a const changing bug that prevented 2 builders
This commit is contained in:
parent
a66753871d
commit
b2428290f9
@ -142,7 +142,7 @@ pub fn (mut b Builder) resolve_deps() {
|
||||
|
||||
// graph of all imported modules
|
||||
pub fn (b &Builder) import_graph() &depgraph.DepGraph {
|
||||
mut builtins := util.builtin_module_parts
|
||||
mut builtins := util.builtin_module_parts.clone()
|
||||
builtins << 'builtin'
|
||||
mut graph := depgraph.new_dep_graph()
|
||||
for p in b.parsed_files {
|
||||
|
Loading…
Reference in New Issue
Block a user