Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewnitschke-wk committed Aug 29, 2023
1 parent eb5f371 commit 44f9c24
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/src/scip_visitor.dart
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,8 @@ class ScipVisitor extends GeneralizingAstVisitor {
// if this parameter is a child of another parameter (usually a function
// parameter), don't register it as a declaration, it's references will be
// registered in [_visitSimpleIdentifier]
final parentParameter = node.parent?.thisOrAncestorOfType<NormalFormalParameter>();
final parentParameter =
node.parent?.thisOrAncestorOfType<NormalFormalParameter>();
if (parentParameter != null) return;

if (node is FieldFormalParameter) {
Expand Down Expand Up @@ -152,7 +153,6 @@ class ScipVisitor extends GeneralizingAstVisitor {
required int offset,
required int length,
}) {

final symbol = _symbolGenerator.symbolFor(element);
if (symbol != null) {
occurrences.add(Occurrence(
Expand Down

0 comments on commit 44f9c24

Please sign in to comment.