WIP: Everything should be dependent on itself, just so we can build a tree afterwards else things like `int j;` at module-level will not be remembered

This commit is contained in:
Tristan B. Kildaire 2021-06-06 18:44:47 +02:00
parent bf6a724783
commit 15bce32ef6
1 changed files with 8 additions and 2 deletions

View File

@ -114,8 +114,14 @@ public void dependancyGenerate(TypeChecker tc, Container container)
*/
encounter(tc, variable, classType);
}
}
/**
* Anything else (TODO: Checking)
*/
else
{
/* TODO: EVerything else is fine */
/* TODO: Either struct or primtive, neither have static initlization */
}
/* If then variable has an assignment */