1
0
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:
Alexander Medvednikov
2019-09-08 02:53:33 +03:00
parent cb6fadf917
commit a6f927a6e9
2 changed files with 4 additions and 4 deletions

View File

@ -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()
}
}