Skip to content

Commit 296ad33

Browse files
committed
Remove unused receiver parameters
1 parent 566e70e commit 296ad33

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

server/src/main/kotlin/org/javacs/kt/index/SymbolIndex.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ class SymbolIndex {
136136
}
137137
}
138138

139-
private fun Transaction.removeDeclarations(declarations: Sequence<DeclarationDescriptor>) =
139+
private fun removeDeclarations(declarations: Sequence<DeclarationDescriptor>) =
140140
declarations.forEach { declaration ->
141141
val (descriptorFqn, extensionReceiverFqn) = getFqNames(declaration)
142142

@@ -149,7 +149,7 @@ class SymbolIndex {
149149
}
150150
}
151151

152-
private fun Transaction.addDeclarations(declarations: Sequence<DeclarationDescriptor>) =
152+
private fun addDeclarations(declarations: Sequence<DeclarationDescriptor>) =
153153
declarations.forEach { declaration ->
154154
val (descriptorFqn, extensionReceiverFqn) = getFqNames(declaration)
155155

0 commit comments

Comments
 (0)