diff --git a/pubspec.yaml b/pubspec.yaml index b5e92e78c..0ab522c75 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -42,7 +42,7 @@ dev_dependencies: archive: ^3.1.2 crypto: ^3.0.0 dart_style: ^2.0.0 - dartdoc: ^6.0.0 + dartdoc: ">=6.0.0 <8.0.0" grinder: ^0.9.0 node_preamble: ^2.0.2 lints: ^2.0.0 diff --git a/tool/grind/synchronize.dart b/tool/grind/synchronize.dart index 87ab7af5d..de18066d2 100644 --- a/tool/grind/synchronize.dart +++ b/tool/grind/synchronize.dart @@ -247,6 +247,9 @@ class _Visitor extends RecursiveAstVisitor { } else if (node.name2.lexeme == "Module") { _skipNode(node); _buffer.write("Module"); + } else if (node.typeArguments == null) { + _skip(node.name2); + _buffer.write(_synchronizeName(node.name2.lexeme)); } else { super.visitNamedType(node); }