Removed useless check
parent
91231ddebd
commit
ab5ee58055
|
@ -41,11 +41,11 @@ public final class Resolver
|
|||
|
||||
public Entity resolveUp(Container currentContainer, string name)
|
||||
{
|
||||
/* If given container is null */
|
||||
if(!currentContainer)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
// /* If given container is null */
|
||||
// if(!currentContainer)
|
||||
// {
|
||||
// return null;
|
||||
// }
|
||||
|
||||
/* Try find the Entity within the current Contaier */
|
||||
Entity entity = resolveWithin(currentContainer, name);
|
||||
|
|
|
@ -21,6 +21,17 @@ public ubyte k = 1;
|
|||
private ubyte k2 = 1;
|
||||
protected ubyte k3 = -1;
|
||||
|
||||
class Shekshi
|
||||
{
|
||||
class G
|
||||
{
|
||||
class F
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class X : myModule.ooga
|
||||
{
|
||||
class Y : ooga
|
||||
|
@ -28,11 +39,26 @@ class X : myModule.ooga
|
|||
|
||||
}
|
||||
|
||||
class myModule
|
||||
{
|
||||
class ooga
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
class K : myModule.ooga
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
class D : X.Y
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
class F : Shekshi.G.F {}
|
||||
|
||||
class Z : ooga
|
||||
{
|
||||
|
||||
|
|
Loading…
Reference in New Issue