Skip to content

Commit ac25a70

Browse files
Bump dartdoc from 6.3.0 to 7.0.0 (#2118)
* Bump dartdoc from 6.3.0 to 7.0.0 Bumps [dartdoc](https://github.com/dart-lang/dartdoc) from 6.3.0 to 7.0.0. - [Release notes](https://github.com/dart-lang/dartdoc/releases) - [Changelog](https://github.com/dart-lang/dartdoc/blob/main/CHANGELOG.md) - [Commits](https://github.com/dart-lang/dartdoc/commits) --- updated-dependencies: - dependency-name: dartdoc dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> * Fix AST visitor for parameter types, they are no longer considered SimpleIdentifier --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Carlos Israel Ortiz García <[email protected]>
1 parent f40c1fc commit ac25a70

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ dev_dependencies:
4242
archive: ^3.1.2
4343
crypto: ^3.0.0
4444
dart_style: ^2.0.0
45-
dartdoc: ^6.0.0
45+
dartdoc: ">=6.0.0 <8.0.0"
4646
grinder: ^0.9.0
4747
node_preamble: ^2.0.2
4848
lints: ^2.0.0

tool/grind/synchronize.dart

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -247,6 +247,9 @@ class _Visitor extends RecursiveAstVisitor<void> {
247247
} else if (node.name2.lexeme == "Module") {
248248
_skipNode(node);
249249
_buffer.write("Module<Callable>");
250+
} else if (node.typeArguments == null) {
251+
_skip(node.name2);
252+
_buffer.write(_synchronizeName(node.name2.lexeme));
250253
} else {
251254
super.visitNamedType(node);
252255
}

0 commit comments

Comments
 (0)