Print out action-list items in initialization order

This commit is contained in:
Tristan B. Velloza Kildaire 2021-10-25 16:55:43 +02:00
parent 8833a14da9
commit ceac4f0eaa
1 changed files with 7 additions and 1 deletions

View File

@ -105,7 +105,13 @@ public final class TypeChecker
string tree = rootNode.print();
gprintln(tree);
gprintln(rootNode.poes);
/* Get the action-list (linearised bottom up graph) */
DNode[] actionList = rootNode.poes;
gprintln("Action list: "~to!(string)(actionList));
foreach(DNode node; actionList)
{
gprintln("Process: "~to!(string)(node));
}
/**
* TODO: What's next?