Skip to content

Commit 99a4971

Browse files
HackerpilotWebFreak001
authored andcommitted
Fix bug in definiton of TemplateArgumentList
1 parent 6b0d311 commit 99a4971

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/dparse/ast.d

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -307,8 +307,8 @@ abstract class ASTVisitor
307307
/** */ void visit(const MulExpression mulExpression) { mulExpression.accept(this); }
308308
/** */ void visit(const NamedArgument argument) { argument.accept(this); }
309309
/** */ void visit(const NamedArgumentList argument) { argument.accept(this); }
310-
/** */ void visit(const NamedTemplateArgumentList templateArgumentList) { templateArgumentList.accept(this); }
311-
/** */ void visit(const NamedTemplateArgument templateArgument) { templateArgument.accept(this); }
310+
/** */ void visit(const NamedTemplateArgumentList namedTemplateArgumentList) { namedTemplateArgumentList.accept(this); }
311+
/** */ void visit(const NamedTemplateArgument namedTemplateArgument) { namedTemplateArgument.accept(this); }
312312
/** */ void visit(const NamespaceList namespaceList) { namespaceList.accept(this); }
313313
/** */ void visit(const NewAnonClassExpression newAnonClassExpression) { newAnonClassExpression.accept(this); }
314314
/** */ void visit(const NewExpression newExpression) { newExpression.accept(this); }
@@ -3196,7 +3196,7 @@ final class TemplateArgumentList : BaseNode
31963196
{
31973197
mixin (visitIfNotNull!(items));
31983198
}
3199-
/** */ NamedTemplateArgument[] items;
3199+
/** */ TemplateArgument[] items;
32003200
mixin OpEquals;
32013201
}
32023202

0 commit comments

Comments
 (0)