extends -> superclasses

This commit is contained in:
David Renshaw 2014-10-25 16:30:21 -04:00
parent fb239f612f
commit 7c4d715421

View file

@ -104,8 +104,8 @@ void enumerateDeps(schema::Node::Reader node, std::set<uint64_t>& deps) {
} }
case schema::Node::INTERFACE: { case schema::Node::INTERFACE: {
auto interfaceNode = node.getInterface(); auto interfaceNode = node.getInterface();
for (auto extend: interfaceNode.getExtends()) { for (auto superclass: interfaceNode.getSuperclasses()) {
deps.insert(extend); deps.insert(superclass.getId());
} }
for (auto method: interfaceNode.getMethods()) { for (auto method: interfaceNode.getMethods()) {
deps.insert(method.getParamStructType()); deps.insert(method.getParamStructType());