Reliance list was keyed incorrecttly
This commit is contained in:
parent
4c538a95f5
commit
0596611295
|
@ -132,7 +132,7 @@ public final class TypeChecker
|
|||
private string[][string] deps;
|
||||
private void encounter(string entityName, string dependentOn)
|
||||
{
|
||||
deps[entityName] ~= dependentOn;
|
||||
deps[dependentOn] ~= entityName;
|
||||
gprintln("[Encounter] Entity: \""~entityName~"\" set to be dependent on \""~dependentOn~"\"");
|
||||
}
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@ module typeChecking1;
|
|||
class A
|
||||
{
|
||||
static A aInstance;
|
||||
static B bInstance;
|
||||
static typeChecking1.B bInstance;
|
||||
}
|
||||
|
||||
class B
|
||||
|
|
Loading…
Reference in New Issue