Skip to content

Commit

Permalink
Bump dartdoc from 6.3.0 to 7.0.0 (#2118)
Browse files Browse the repository at this point in the history
* 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] <support@github.com>

* Fix AST visitor for parameter types, they are no longer considered SimpleIdentifier

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Carlos Israel Ortiz García <goodwine@google.com>
  • Loading branch information
dependabot[bot] and Goodwine authored Oct 18, 2023
1 parent f40c1fc commit ac25a70
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 3 additions & 0 deletions tool/grind/synchronize.dart
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,9 @@ class _Visitor extends RecursiveAstVisitor<void> {
} else if (node.name2.lexeme == "Module") {
_skipNode(node);
_buffer.write("Module<Callable>");
} else if (node.typeArguments == null) {
_skip(node.name2);
_buffer.write(_synchronizeName(node.name2.lexeme));
} else {
super.visitNamedType(node);
}
Expand Down

0 comments on commit ac25a70

Please sign in to comment.