use ReadonlyArray for tags, #50972

This commit is contained in:
Johannes Rieken
2019-08-23 08:46:25 +02:00
parent 8b0bc473cd
commit f7fe25dcfc
5 changed files with 6 additions and 15 deletions

View File

@@ -21,7 +21,6 @@ import { Selection } from 'vs/editor/common/core/selection';
import { ExtensionIdentifier } from 'vs/platform/extensions/common/extensions';
import * as callh from 'vs/workbench/contrib/callHierarchy/common/callHierarchy';
import { mixin } from 'vs/base/common/objects';
import { fromArray } from 'vs/base/common/map';
@extHostNamedCustomer(MainContext.MainThreadLanguageFeatures)
export class MainThreadLanguageFeatures implements MainThreadLanguageFeaturesShape {
@@ -331,7 +330,7 @@ export class MainThreadLanguageFeatures implements MainThreadLanguageFeaturesSha
return {
label: data.a,
kind: data.b,
kindTags: data.n && fromArray(data.n),
kindTags: data.n,
detail: data.c,
documentation: data.d,
sortText: data.e,