Skip to content

Commit 034c823

Browse files
committed
Go: Format Aliases.ql
1 parent 5740830 commit 034c823

File tree

1 file changed

+1
-3
lines changed
  • go/ql/test/library-tests/semmle/go/Types

1 file changed

+1
-3
lines changed

Diff for: go/ql/test/library-tests/semmle/go/Types/Aliases.ql

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
import go
22

3-
int countDecls(Entity e) {
4-
result = count(Ident decl | decl = e.getDeclaration())
5-
}
3+
int countDecls(Entity e) { result = count(Ident decl | decl = e.getDeclaration()) }
64

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

0 commit comments

Comments
 (0)