Skip to content

Commit 168afee

Browse files
committed
Go: Format Aliases.ql
1 parent 3f9021a commit 168afee

File tree

1 file changed

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

1 file changed

+1
-3
lines changed

go/ql/test/library-tests/semmle/go/Types/Aliases.ql

Lines changed: 1 addition & 3 deletions
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)