Commit fe457524 authored by Harris Hancock's avatar Harris Hancock

Fix deeply-nested-generic build failure (1/2)

Although bootstrap regeneration will basically be a no-op (no bootstraps
have deeply nested generics which this commit fixes), one will follow this
commit for completeness.
parent 814ce248
......@@ -2301,8 +2301,8 @@ private:
return kj::strTree(",\n public virtual ", s.typeName.strNoTypename(), "::Client");
}, " {\n"
"public:\n"
" typedef ", fullName, " Calls;\n"
" typedef ", fullName, " Reads;\n"
" typedef ", name, " Calls;\n"
" typedef ", name, " Reads;\n"
"\n"
" Client(decltype(nullptr));\n"
" explicit Client(::kj::Own< ::capnp::ClientHook>&& hook);\n"
......@@ -2330,7 +2330,7 @@ private:
return kj::strTree(",\n public virtual ", s.typeName.strNoTypename(), "::Server");
}, " {\n"
"public:\n",
" typedef ", fullName, " Serves;\n"
" typedef ", name, " Serves;\n"
"\n"
" ::kj::Promise<void> dispatchCall(uint64_t interfaceId, uint16_t methodId,\n"
" ::capnp::CallContext< ::capnp::AnyPointer, ::capnp::AnyPointer> context)\n"
......
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