Skip to content

Commit

Permalink
Go: Format Aliases.ql
Browse files Browse the repository at this point in the history
  • Loading branch information
mbg committed Sep 4, 2024
1 parent 3f9021a commit 168afee
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions go/ql/test/library-tests/semmle/go/Types/Aliases.ql
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
import go

int countDecls(Entity e) {
result = count(Ident decl | decl = e.getDeclaration())
}
int countDecls(Entity e) { result = count(Ident decl | decl = e.getDeclaration()) }

query predicate entities(string fp, Entity e, int c, Type ty) {
c = countDecls(e) and
Expand Down

0 comments on commit 168afee

Please sign in to comment.