From 0f95a8d7243715e94c2c09763f0930b76132ab85 Mon Sep 17 00:00:00 2001 From: Chris Smowton Date: Tue, 1 Oct 2024 14:46:04 +0100 Subject: [PATCH] Clarify doc --- go/ql/lib/semmle/go/Types.qll | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/go/ql/lib/semmle/go/Types.qll b/go/ql/lib/semmle/go/Types.qll index 651cda82eb6e..0b5ac334c9b7 100644 --- a/go/ql/lib/semmle/go/Types.qll +++ b/go/ql/lib/semmle/go/Types.qll @@ -782,7 +782,7 @@ class InterfaceType extends @interfacetype, CompositeType { * different packages defines two distinct types, but they appear identical according to * `getMethodType`. If the packages were named `a` and `b`, `getMethodType` would yield * `notExported -> int` for both, whereas this method would yield `a.notExported -> int` - * and `b.notExported -> int` respectively. + * and `b.notExported -> int` respectively, while both yielding `Exported -> int`. */ Type getMethodTypeByQualifiedName(string qname) { exists(int i, string name | i >= 0 |