Skip to content

Commit 7ffff43

Browse files
smowtonowen-mc
authored andcommitted
Improve comments
1 parent cd99bea commit 7ffff43

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

go/ql/lib/semmle/go/dataflow/internal/FlowSummaryImpl.qll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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
)

0 commit comments

Comments
 (0)