File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
go/ql/lib/semmle/go/dataflow/internal Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -292,12 +292,12 @@ module SourceSinkInterpretationInput implements
292292 subtypes = true and
293293 (
294294 // `syntacticQualBaseType`'s underlying type might be an interface type and `sse`
295- // might be a method defined on an interface which is a subtype of it.
295+ // might refer to a method defined on an interface embedded within it.
296296 targetType =
297297 syntacticQualBaseType .getUnderlyingType ( ) .( InterfaceType ) .getAnEmbeddedInterface ( )
298298 or
299299 // `syntacticQualBaseType`'s underlying type might be a struct type and `sse`
300- // might be a promoted method or field.
300+ // might refer to an embedded method or field.
301301 syntacticQualBaseType .getUnderlyingType ( ) .( StructType ) .hasEmbeddedField ( targetType , _)
302302 )
303303 )
You can’t perform that action at this time.
0 commit comments