another missing read action (EA-72578 - assert: SharedImplUtil.getParent)
This commit is contained in:
+1
-1
@@ -242,7 +242,7 @@ public class KotlinReferencesSearcher : QueryExecutorBase<PsiReference, Referenc
|
|||||||
is JetClassOrObject -> processJetClassOrObject(element, queryParameters)
|
is JetClassOrObject -> processJetClassOrObject(element, queryParameters)
|
||||||
is JetNamedFunction, is JetSecondaryConstructor -> {
|
is JetNamedFunction, is JetSecondaryConstructor -> {
|
||||||
val function = element as JetFunction
|
val function = element as JetFunction
|
||||||
val name = function.getName()
|
val name = runReadAction { function.getName() }
|
||||||
if (name != null) {
|
if (name != null) {
|
||||||
val methods = runReadAction { LightClassUtil.getLightClassMethods(function) }
|
val methods = runReadAction { LightClassUtil.getLightClassMethods(function) }
|
||||||
for (method in methods) {
|
for (method in methods) {
|
||||||
|
|||||||
Reference in New Issue
Block a user