diff --git a/compiler/modules.v b/compiler/modules.v index cc664ebd19..02d8032bdb 100644 --- a/compiler/modules.v +++ b/compiler/modules.v @@ -139,6 +139,10 @@ pub fn(graph &ModDepGraph) last_node() { return graph.nodes[graph.nodes.len-1] } +pub fn(graph &ModDepGraph) last_cycle() string { + return graph.nodes[graph.nodes.len-1].last_cycle +} + pub fn(graph &ModDepGraph) display() { for i:=0; i