We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 442e581 commit fd615fbCopy full SHA for fd615fb
1 file changed
go/ql/lib/semmle/go/Types.qll
@@ -69,6 +69,7 @@ class Type extends @type {
69
* is contained in the method set of this type and any type restrictions are
70
* satisfied.
71
*/
72
+ pragma[nomagic]
73
predicate implements(InterfaceType i) {
74
if i = any(ComparableType comparable).getUnderlyingType()
75
then this.implementsComparable()
0 commit comments