builder: fix a const changing bug that prevented 2 builders

pull/5350/head
Delyan Angelov 2020-06-11 18:35:41 +03:00
parent a66753871d
commit b2428290f9
1 changed files with 1 additions and 1 deletions

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 {