Fix text/description of FirIncompatiblePluginAPI

This commit is contained in:
Mikhail Glukhikh
2023-03-24 15:14:02 +01:00
committed by Space Team
parent 7382b31fdc
commit 8b247982e3
@@ -23,12 +23,12 @@ import org.jetbrains.kotlin.platform.TargetPlatform
import org.jetbrains.kotlin.resolve.BindingContext
/**
* Indicates methods and properties that are not available in backend after FIR
* Indicates methods and properties that are not available in backend after K2 compiler release
*
* Invocation of such methods in IR plugins if frontend was a FIR results in compiler crash.
* Invocation of such methods in IR plugins if frontend was K2 results in compiler crash.
* It's still possible to use them in IR plugins with old frontend.
*/
@RequiresOptIn("This API is not available after FIR")
@RequiresOptIn("This API is deprecated. It will be removed after the release of K2 compiler")
annotation class FirIncompatiblePluginAPI(val hint: String = "")
interface IrPluginContext : IrGeneratorContext {