Fix missing commas between type arguments

This commit is contained in:
Simon Binder 2024-03-24 14:37:27 +01:00
parent ae40dd6d81
commit e1bdc6bde5
1 changed files with 7 additions and 0 deletions

View File

@ -556,4 +556,11 @@ class _AddFromAst extends GeneralizingAstVisitor<void> {
_visitCommaSeparated(node.elements);
_childEntities([node.rightBracket]);
}
@override
void visitTypeArgumentList(TypeArgumentList node) {
_builder.addText('<');
_visitCommaSeparated(node.arguments);
_builder.addText('>');
}
}