[PSI, FE] Support functional types
This commit is contained in:
committed by
TeamCityServer
parent
e53cee77a3
commit
e3f987459c
@@ -97,6 +97,11 @@ public enum class DeprecationLevel {
|
||||
@MustBeDocumented
|
||||
public annotation class ExtensionFunctionType
|
||||
|
||||
// TODO: How to make it require opt-in? @RequiresOptIn doesn't support TYPE target
|
||||
@Target(TYPE)
|
||||
@MustBeDocumented
|
||||
public annotation class ContextFunctionTypeParams(val count: Int)
|
||||
|
||||
/**
|
||||
* Annotates type arguments of functional type and holds corresponding parameter name specified by the user in type declaration (if any).
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user