Commit 30ef5d35 authored by Harris Hancock's avatar Harris Hancock

Add template/typename disambiguators

parent f47f0dad
......@@ -2271,7 +2271,7 @@ template <typename InitBrandFunc>
uint64_t NodeTranslator::compileParamList(
kj::StringPtr methodName, uint16_t ordinal, bool isResults,
Declaration::ParamList::Reader paramList,
List<Declaration::BrandParameter>::Reader implicitParams,
typename List<Declaration::BrandParameter>::Reader implicitParams,
InitBrandFunc&& initBrand) {
switch (paramList.which()) {
case Declaration::ParamList::NAMED_LIST: {
......
......@@ -230,7 +230,7 @@ private:
template <typename InitBrandFunc>
uint64_t compileParamList(kj::StringPtr methodName, uint16_t ordinal, bool isResults,
Declaration::ParamList::Reader paramList,
List<Declaration::BrandParameter>::Reader implicitParams,
typename List<Declaration::BrandParameter>::Reader implicitParams,
InitBrandFunc&& initBrand);
// Compile a param (or result) list and return the type ID of the struct type.
......
......@@ -408,7 +408,7 @@ static Declaration::Builder initMemberDecl(
}
template <typename BuilderType>
void initLocation(kj::parse::Span<List<Token>::Reader::Iterator> location,
void initLocation(kj::parse::Span<typename List<Token>::Reader::Iterator> location,
BuilderType builder) {
if (location.begin() < location.end()) {
builder.setStartByte(location.begin()->getStartByte());
......
......@@ -160,7 +160,7 @@ private:
template <typename Input, typename Output>
template <typename ParserImpl>
constexpr ParserRef<Input, Output>::WrapperImpl<ParserImpl>
constexpr typename ParserRef<Input, Output>::template WrapperImpl<ParserImpl>
ParserRef<Input, Output>::WrapperImplInstance<ParserImpl>::instance;
template <typename Input, typename ParserImpl>
......
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