We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 162ec40 commit b153792Copy full SHA for b153792
src/views/codeAnalytics/insightsViewTab.ts
@@ -102,7 +102,11 @@ export class InsightsViewTab implements ICodeAnalyticsViewTab {
102
}
103
104
const methodInfo = docInfo.methods.single(
105
- (x) => x.id == codeObject.id
+ (x) =>
106
+ x.id == codeObject.id &&
107
+ // Check display name for cases when there are multiple
108
+ // methods with the same id in the document
109
+ x.displayName === codeObject.displayName
110
);
111
const codeObjectsIds = methodInfo.getIds(true, true);
112
0 commit comments