commit | ee8ebcdc41daabe3e8d7633b6057cfbdaf5880ff | [log] [tgz] |
---|---|---|
author | Paul Berry <paulberry@google.com> | Fri Aug 06 20:36:19 2021 +0000 |
committer | commit-bot@chromium.org <commit-bot@chromium.org> | Fri Aug 06 20:36:19 2021 +0000 |
tree | 0a2d51b170c1b92b1ce0d54ff4390b84839ce7e7 | |
parent | 7d1f26ff090177b01b25de17089f253187b4833a [diff] |
Clean up comments in function_expression_resolver.dart In https://dart-review.googlesource.com/c/sdk/+/209240, I accidentally included a stray "TODO" comment that only made sense in the context of a previous patch set. I also made a minor spelling error in a comment. This CL removes the stray TODO and fixes the spelling error. There is no functional change. Change-Id: If1c600a579101cea1015d34d9833eb21a2b1a675 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/209400 Reviewed-by: Konstantin Shcheglov <scheglov@google.com> Commit-Queue: Paul Berry <paulberry@google.com>
diff --git a/pkg/analyzer/lib/src/dart/resolver/function_expression_resolver.dart b/pkg/analyzer/lib/src/dart/resolver/function_expression_resolver.dart index e1c1b14..2ea42d8 100644 --- a/pkg/analyzer/lib/src/dart/resolver/function_expression_resolver.dart +++ b/pkg/analyzer/lib/src/dart/resolver/function_expression_resolver.dart
@@ -58,8 +58,7 @@ node.visitChildren(_resolver); if (isFunctionDeclaration) { // A side effect of visiting the children is that the parameters are now - // in scope, so we can visit the documentation coment now. - // TODO(paulberry): why is a cast needed here? + // in scope, so we can visit the documentation comment now. parent.documentationComment?.accept(_resolver); } _resolve2(node);