Optimization of Basic Code Completion
Now we don't perform code formatting on temporary psi used in ShadowedDeclarationFilter #KT-16856
This commit is contained in:
@@ -169,7 +169,7 @@ class ShadowedDeclarationsFilter(
|
||||
val newCall = object : Call {
|
||||
//TODO: compiler crash (KT-8011)
|
||||
//val arguments = parameters.indices.map { DummyArgument(it) }
|
||||
val callee = psiFactory.createExpressionByPattern("$0", name)
|
||||
val callee = psiFactory.createExpressionByPattern("$0", name, reformat = false)
|
||||
|
||||
override fun getCalleeExpression() = callee
|
||||
|
||||
|
||||
Reference in New Issue
Block a user