Skip to content

Commit 811779a

Browse files
committed
Change constructor name.
1 parent b10c708 commit 811779a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

rascal-lsp/src/main/java/org/rascalmpl/vscode/lsp/util/CallHierarchy.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ public class CallHierarchy {
2727
public static final IConstructor OUTGOING = VF.constructor(TF.constructor(store, directionAdt, "outgoing"));
2828

2929
private static final Type callHierarchyItemAdt = TF.abstractDataType(store, "CallHierarchyItem");
30-
private static final Type callHierarchyItemCons = TF.constructor(store, callHierarchyItemAdt, "callItem",
30+
private static final Type callHierarchyItemCons = TF.constructor(store, callHierarchyItemAdt, "callHierarchyItem",
3131
TF.stringType(), DocumentSymbols.symbolKindAdt, TF.sourceLocationType(), TF.sourceLocationType());
3232

3333
private static final String NAME = "name";

rascal-lsp/src/main/rascal/library/util/LanguageServer.rsc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ loc defaultPrepareRenameService(Focus _:[Tree tr, *_]) = tr.src when tr.src?;
289289
default loc defaultPrepareRenameService(Focus focus) { throw IllegalArgument(focus, "Element under cursor does not have source location"); }
290290

291291
data CallHierarchyItem
292-
= callItem(
292+
= callHierarchyItem(
293293
str name,
294294
DocumentSymbolKind kind,
295295
loc src, // location of the definition

0 commit comments

Comments
 (0)