提交 9e9270a8 编写于 作者: S Skylot

core: fix type inference StackOverflowError

上级 2c904c56
......@@ -120,11 +120,13 @@ public class ClspGraph {
}
private void addAncestorsNames(NClass cls, Set<String> result) {
result.add(cls.getName());
boolean isNew = result.add(cls.getName());
if (isNew) {
for (NClass p : cls.getParents()) {
addAncestorsNames(p, result);
}
}
}
public void printMissingClasses() {
int count = missingClasses.size();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册