mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
bring back automatic array_free()
This commit is contained in:
@ -54,7 +54,7 @@ pub fn new_dep_graph() &DepGraph {
|
||||
pub fn(graph mut DepGraph) add(mod string, deps []string) {
|
||||
graph.nodes << DepGraphNode{
|
||||
name: mod,
|
||||
deps: deps
|
||||
deps: deps.clone()
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user