mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[kotlin] J2K: add missing runReadAction in MergePropertyWithConstructorParameterProcessing
EA-418603 T: LazyParseableElement.ensureParsed GitOrigin-RevId: e2c099f4842a3a636ce989472389c376cdbe51b2
This commit is contained in:
committed by
intellij-monorepo-bot
parent
94dbcba6d2
commit
5fdbd418c5
+1
-1
@@ -78,7 +78,7 @@ class MergePropertyWithConstructorParameterProcessing : ElementsBasedPostProcess
|
||||
}
|
||||
|
||||
override fun runProcessing(elements: List<PsiElement>, converterContext: NewJ2kConverterContext) {
|
||||
for (klass in elements.descendantsOfType<KtClass>()) {
|
||||
for (klass in runReadAction { elements.descendantsOfType<KtClass>() }) {
|
||||
convertClass(klass)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user