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
292
292
subtypes = true and
293
293
(
294
294
// `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.
296
296
targetType =
297
297
syntacticQualBaseType .getUnderlyingType ( ) .( InterfaceType ) .getAnEmbeddedInterface ( )
298
298
or
299
299
// `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.
301
301
syntacticQualBaseType .getUnderlyingType ( ) .( StructType ) .hasEmbeddedField ( targetType , _)
302
302
)
303
303
)
You can’t perform that action at this time.
0 commit comments