Johannes Rieken
2021-11-18 18:36:39 +01:00
parent 0de4150ed5
commit e9d7fac2c7
2 changed files with 23 additions and 1 deletions

View File

@@ -678,7 +678,7 @@ export class MainThreadLanguageFeatures implements MainThreadLanguageFeaturesSha
prepareCallHierarchy: async (document, position, token) => {
const items = await this._proxy.$prepareCallHierarchy(handle, document.uri, position, token);
if (!items) {
if (!items || items.length === 0) {
return undefined;
}
return {