1
0
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:
Delyan Angelov 2020-06-11 18:35:41 +03:00
parent a66753871d
commit b2428290f9

View File

@ -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 {