Skip to content

Commit

Permalink
Fix indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
NebelNidas committed Apr 8, 2024
1 parent 0561455 commit bb16ac4
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -139,8 +139,8 @@ private void processAnnotatedElement(int pos, ICodeAnnotation ann, ICodeInfo cod
if (!var.getMth().collectArgsWithoutLoading().contains(var)) return;
Token token = new Token(pos, pos + var.getName().length(), var.getName());

if (pos == var.getDefPosition()) {
index.addDeclaration(token, paramEntryOf(var, codeInfo));
if (pos == var.getDefPosition()) {
index.addDeclaration(token, paramEntryOf(var, codeInfo));
} else {
index.addReference(token, paramEntryOf(var, codeInfo), methodEntryOf(var.getMth()));
}
Expand Down

0 comments on commit bb16ac4

Please sign in to comment.