From 168afeed5fecb8ec98c020a4c89bf6ba6f667c25 Mon Sep 17 00:00:00 2001 From: "Michael B. Gale" Date: Wed, 4 Sep 2024 12:03:02 +0100 Subject: [PATCH] Go: Format `Aliases.ql` --- go/ql/test/library-tests/semmle/go/Types/Aliases.ql | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/go/ql/test/library-tests/semmle/go/Types/Aliases.ql b/go/ql/test/library-tests/semmle/go/Types/Aliases.ql index 8e234e7a381e9..79f366e37d949 100644 --- a/go/ql/test/library-tests/semmle/go/Types/Aliases.ql +++ b/go/ql/test/library-tests/semmle/go/Types/Aliases.ql @@ -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