From e5bade2878e26ced075d2f9500f87115e44b0acf Mon Sep 17 00:00:00 2001 From: ryuukk Date: Wed, 9 Aug 2023 18:11:56 +0200 Subject: [PATCH] Apply changes from latest libdparse version --- dsymbol/src/dsymbol/conversion/first.d | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dsymbol/src/dsymbol/conversion/first.d b/dsymbol/src/dsymbol/conversion/first.d index 78b3189..af012fc 100644 --- a/dsymbol/src/dsymbol/conversion/first.d +++ b/dsymbol/src/dsymbol/conversion/first.d @@ -258,9 +258,9 @@ final class FirstPass : ASTVisitor void processTemplateArguments(SemanticSymbol* symbol, TypeLookup* lookup, VariableContext* ctx, VariableContext.TypeInstance* current, TemplateArguments targs) { - if (targs.templateArgumentList) + if (targs.namedTemplateArgumentList) { - foreach(i, targ; targs.templateArgumentList.items) + foreach(i, targ; targs.namedTemplateArgumentList.items) { if (targ.type is null) continue; if (targ.type.type2 is null) continue;