Fix compilation
This commit is contained in:
@@ -689,7 +689,7 @@ class KotlinCoreEnvironment private constructor(
|
|||||||
// For example, see the `unregisterExtension` call in `GenerationUtils.compileFilesUsingFrontendIR`.
|
// For example, see the `unregisterExtension` call in `GenerationUtils.compileFilesUsingFrontendIR`.
|
||||||
// TODO: refactor this to avoid registering unneeded extensions in the first place, and avoid using deprecated API.
|
// TODO: refactor this to avoid registering unneeded extensions in the first place, and avoid using deprecated API.
|
||||||
@Suppress("DEPRECATION")
|
@Suppress("DEPRECATION")
|
||||||
PsiElementFinder.EP.getPoint(project).registerExtension(JavaElementFinder(this, kotlinAsJavaSupport))
|
PsiElementFinder.EP.getPoint(project).registerExtension(JavaElementFinder(this))
|
||||||
@Suppress("DEPRECATION")
|
@Suppress("DEPRECATION")
|
||||||
PsiElementFinder.EP.getPoint(project).registerExtension(PsiElementFinderImpl(this))
|
PsiElementFinder.EP.getPoint(project).registerExtension(PsiElementFinderImpl(this))
|
||||||
}
|
}
|
||||||
|
|||||||
+1
-1
@@ -683,7 +683,7 @@ class KotlinCoreEnvironment private constructor(
|
|||||||
// For example, see the `unregisterExtension` call in `GenerationUtils.compileFilesUsingFrontendIR`.
|
// For example, see the `unregisterExtension` call in `GenerationUtils.compileFilesUsingFrontendIR`.
|
||||||
// TODO: refactor this to avoid registering unneeded extensions in the first place, and avoid using deprecated API.
|
// TODO: refactor this to avoid registering unneeded extensions in the first place, and avoid using deprecated API.
|
||||||
@Suppress("DEPRECATION")
|
@Suppress("DEPRECATION")
|
||||||
PsiElementFinder.EP.getPoint(project).registerExtension(JavaElementFinder(this, kotlinAsJavaSupport))
|
PsiElementFinder.EP.getPoint(project).registerExtension(JavaElementFinder(this))
|
||||||
@Suppress("DEPRECATION")
|
@Suppress("DEPRECATION")
|
||||||
PsiElementFinder.EP.getPoint(project).registerExtension(PsiElementFinderImpl(this))
|
PsiElementFinder.EP.getPoint(project).registerExtension(PsiElementFinderImpl(this))
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user