ResolutionFacadeWithDebugInfo: do not wrap index not ready exception
Fixes problems where `catch (IndexNotReadyException)` blocks
in IDEA code would not work
This commit is contained in:
+1
-1
@@ -94,7 +94,7 @@ private class ResolutionFacadeWithDebugInfo(
|
||||
try {
|
||||
return body()
|
||||
} catch (e: Throwable) {
|
||||
if (e is ControlFlowException) {
|
||||
if (e is ControlFlowException || e is IndexNotReadyException) {
|
||||
throw e
|
||||
}
|
||||
throw KotlinIdeaResolutionException(e, resolvingWhat(), creationPlace)
|
||||
|
||||
Reference in New Issue
Block a user