Added TODO

Added test case
This commit is contained in:
Tristan B. Velloza Kildaire 2021-04-09 15:56:15 +02:00
parent 9636f261dd
commit d7cd4df736
2 changed files with 15 additions and 1 deletions

View File

@ -48,6 +48,9 @@ public final class TypeChecker
public void dependencyCheck()
{
/* TODO: Implement me */
checkClassInherit(modulle);
/* TODO: Process class ? vars funcs ?*/
}
public void beginCheck()
@ -62,7 +65,7 @@ public final class TypeChecker
/* TODO: Now that everything is defined, no collision */
/* TODO: Do actual type checking and declarations */
checkClassInherit(modulle);
dependencyCheck();
}
private void checkClassInherit(Container c)

View File

@ -0,0 +1,11 @@
module classTest;
class A : B
{
}
class B
{
}