Skip to content

Commit

Permalink
Merge pull request #5625 from MDoerner/FixBugInSuperTypeNameDetermina…
Browse files Browse the repository at this point in the history
…tion

Fix bug in supertype name derivation
  • Loading branch information
bclothier committed Nov 3, 2020
2 parents 54567b4 + 1a02571 commit 0dd180e
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,8 @@ private static IEnumerable<string> SuperTypeNamesForDocumentFromComType(IComType
//Since we do not have a declaration for the hidden interface, we have to go one more step up the hierarchy.
var additionalInterfaces = relevantInterfaces
.Where(i => i.Name.Equals("_" + comModule.Name))
.SelectMany(i => i.InheritedInterfaces);
.SelectMany(i => i.InheritedInterfaces)
.ToList();

relevantInterfaces.AddRange(additionalInterfaces);

Expand Down

0 comments on commit 0dd180e

Please sign in to comment.