Skip to content

Commit 2cba97e

Browse files
committed
Small stylistic improvement
1 parent 1bc1472 commit 2cba97e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

go/ql/lib/semmle/go/Types.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -560,7 +560,7 @@ class StructType extends @structtype, CompositeType {
560560
* The depth of a field `f` declared in this type is zero.
561561
*/
562562
Field getFieldAtDepth(string name, int depth) {
563-
depth = min(int depthCand | exists(Field f | this.hasFieldCand(name, f, depthCand, _))) and
563+
depth = min(int depthCand | this.hasFieldCand(name, _, depthCand, _)) and
564564
this.hasFieldCand(name, result, depth, _) and
565565
strictcount(Field f | this.hasFieldCand(name, f, depth, _)) = 1
566566
}

0 commit comments

Comments
 (0)