mirror of https://github.com/tbklang/tlang.git
Dependency
- Actually removed `static DNode[] poes` - Actually added some todos TypeChecker - Actually removed any references to `DNode.poes`
This commit is contained in:
parent
2ee2bc22a4
commit
68e1a25c9a
|
@ -110,10 +110,6 @@ public final class TypeChecker
|
|||
codeQueue.clear();
|
||||
assert(codeQueue.empty() == true);
|
||||
|
||||
//FIXME: Look at this, ffs why is it static
|
||||
//Clear tree/linearized version (todo comment)
|
||||
DNode.poes=[];
|
||||
|
||||
/* Grab functionData ??? */
|
||||
FunctionData[string] functionDefinitions = grabFunctionDefs();
|
||||
gprintln("Defined functions: "~to!(string)(functionDefinitions));
|
||||
|
@ -165,9 +161,6 @@ public final class TypeChecker
|
|||
}
|
||||
codeQueue.clear();
|
||||
|
||||
// Clear the linearization for the next round
|
||||
DNode.poes=[];
|
||||
|
||||
gprintln("FUNCDEF DONE: "~to!(string)(functionBodyCodeQueues[funcData.name]));
|
||||
}
|
||||
|
||||
|
|
|
@ -162,11 +162,6 @@ public class DNode
|
|||
private bool complete;
|
||||
private DNode[] dependencies;
|
||||
|
||||
|
||||
//TODO: Commen this
|
||||
//NOTE: This is the linearized version
|
||||
public static DNode[] poes;
|
||||
|
||||
this(DNodeGenerator dnodegen, Statement entity)
|
||||
{
|
||||
this.entity = entity;
|
||||
|
@ -327,7 +322,7 @@ public class DNode
|
|||
/* TODO: I think using `isDone` we can linearise */
|
||||
gprintln("Done/Not-done?: "~to!(string)(isDone));
|
||||
|
||||
// TODO: What is this for and do we even need it? See issue #41
|
||||
// TODO: What is this for and do we even need it? See issue #41 Problem 5
|
||||
if(isDone)
|
||||
{
|
||||
destinationLinearList ~= this;
|
||||
|
@ -337,7 +332,7 @@ public class DNode
|
|||
return tree;
|
||||
}
|
||||
|
||||
// TODO: What is this for and do we even need it? See issue #41
|
||||
// TODO: What is this for and do we even need it? See issue #41 Problem 5
|
||||
private bool isDone()
|
||||
{
|
||||
bool done = false;
|
||||
|
|
Loading…
Reference in New Issue