Found why we are crashing (dependency generation is ordered right but we need to maybe make different objects or add checks of a different sort)
This commit is contained in:
parent
b30b6e0fe0
commit
3536e39f6f
|
@ -334,10 +334,14 @@ public final class TypeChecker
|
|||
gprintln("VarExp: "~g.getName());
|
||||
gprintln(g.getContext());
|
||||
auto gVar = cast(TypedEntity)resolver.resolveBest(g.getContext().getContainer(), g.getName());
|
||||
gprintln("gVar nullity?: "~to!(string)(gVar is null));
|
||||
|
||||
/* TODO; Above crashes when it is a container, eish baba - from dependency generation with `TestClass.P.h` */
|
||||
|
||||
string variableName = resolver.generateName(modulle, gVar);
|
||||
|
||||
gprintln("VarName: "~variableName);
|
||||
gprintln("Halo");
|
||||
|
||||
gprintln("Yaa, it's rewind time1: "~to!(string)(gVar.getType()));
|
||||
gprintln("Yaa, it's rewind time2: "~to!(string)(gVar.getContext()));
|
||||
|
|
|
@ -50,6 +50,11 @@ public final class Context
|
|||
{
|
||||
return container;
|
||||
}
|
||||
|
||||
public override string toString()
|
||||
{
|
||||
return "Context [ContPtr(valid?): "~to!(string)(!(container is null))~", InitScope: "~to!(string)(initScope)~"]";
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue