Commit 9f21a77b authored by Kenton Varda's avatar Kenton Varda

Fix style.

parent 026b8294
...@@ -426,13 +426,14 @@ private: ...@@ -426,13 +426,14 @@ private:
kj::StringTree genExtends(InterfaceSchema interface) { kj::StringTree genExtends(InterfaceSchema interface) {
auto extends = interface.getProto().getInterface().getExtends(); auto extends = interface.getProto().getInterface().getExtends();
if (extends.size() == 0) if (extends.size() == 0) {
return kj::strTree(); return kj::strTree();
else } else {
return kj::strTree(" extends(", kj::StringTree( return kj::strTree(" extends(", kj::StringTree(
KJ_MAP(id, extends) { KJ_MAP(id, extends) {
return nodeName(schemaLoader.get(id), interface); return nodeName(schemaLoader.get(id), interface);
}, ", "), ")"); }, ", "), ")");
}
} }
kj::StringTree genDecl(Schema schema, Text::Reader name, uint64_t scopeId, Indent indent) { kj::StringTree genDecl(Schema schema, Text::Reader name, uint64_t scopeId, Indent indent) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment