WIP: Found problem for ongoing recursion, we need a stopping case - we need to mark things

static_support
Tristan B. V. Kildaire 2021-06-04 11:34:18 +02:00
parent cfd81a6b45
commit 09bb089998
2 changed files with 6 additions and 2 deletions

View File

@ -142,10 +142,13 @@ public final class TypeChecker
{ {
Clazz clazzType = cast(Clazz)type; Clazz clazzType = cast(Clazz)type;
/* TODO: We need to start marking things */
/* TODO: Do actual checks here now */
/* TODO: If the type is of the current class we are in then it is fine? */ /* TODO: If the type is of the current class we are in then it is fine? */
if(clazzType == c) if(clazzType == c)
{ {
gprintln("Container we are in matches type of TypedEdntity being processed");
} }
else else
{ {

View File

@ -60,7 +60,8 @@ class Shekshi
class kl class kl
{ {
kl o;
Shekshi oo;
} }
int Shekshi2; int Shekshi2;