mirror of https://github.com/tbklang/tlang.git
Dependency generation
Full path evaluation update If the local segment is a Class-type-of Container then run a class static allocation on it and make the current dnode dependent on that ClassStaticAllocation dnode returned from classStaticAllocate().
This commit is contained in:
parent
2d58d5f0d7
commit
15d2bf6b68
|
@ -823,6 +823,12 @@ public class DNodeGenerator
|
|||
VariableExpression varExpCont = new VariableExpression(nearestName);
|
||||
|
||||
/* TODO: We need to add a chck to which type of Container it is, if it is a Class then we need to do a static init */
|
||||
if(cast(Clazz)namedEntity)
|
||||
{
|
||||
Clazz clazz = cast(Clazz)namedEntity;
|
||||
|
||||
dnode.needs(classPassStatic(clazz));
|
||||
}
|
||||
|
||||
/* TODO: Recurse on `newPath` */
|
||||
/* FIXME: Context is bad so lookup fails, must be neweer upsdated local container */
|
||||
|
|
Loading…
Reference in New Issue