forked from JavaTX/JavaCompilerCore
fixed greater()
This commit is contained in:
parent
c08a8fd347
commit
b93f1dd376
@ -70,10 +70,10 @@ public class FiniteClosure implements IFiniteClosure {
|
||||
*/
|
||||
@Override
|
||||
public Set<Type> greater(Type type) {
|
||||
if(!inheritanceGraph.containsKey(type))
|
||||
if(!inheritanceGraph.containsKey(type.getName()))
|
||||
return new HashSet<>();
|
||||
|
||||
return inheritanceGraph.get(type).getContentOfPredecessors();
|
||||
return inheritanceGraph.get(type.getName()).getContentOfPredecessors();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Loading…
Reference in New Issue
Block a user